Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Programmatically changing the iOS lock-screen

I'm building an app which would have to have the ability to show my own views on the iPhone lock screen. I've seen lots of apps which let you customize the lockscreen and so forth and these were App Store apps so i'm guessing it has to possible.

I just can't figure out what to use in the iOS SDK to even try implementing this.

Oh and P.S: same goes for wallpapers—can we change this from inside our app?

like image 504
nextbighit Avatar asked Jun 05 '11 14:06

nextbighit


People also ask

Can I modify iPhone Lock Screen?

The iPhone's newest software update brings "the biggest update ever to the Lock Screen," according to Apple. Users can now update the fonts, photo activity, and details, and add widgets to their phone screens, making their first glance at their iPhones a lot more personal and useful.

Can your Lock Screen change automatically?

Thankfully, Android offers you the option to auto change wallpapers on both the home screen and the lock screen.


1 Answers

It can be changed programmatically (change to SpringBoard), but it won't make the way to the (official) AppStore. So if you want to build an app that can change something like the lock screen wallpaper or the ring tone which you usually need the Settings app for, you have to publish your application via Cydia, not Apple's store.

For a sample code block, see this answer.

like image 173
Norbert Avatar answered Oct 12 '22 23:10

Norbert