ChikabuZ
ChikabuZ

Reputation: 10185

iOS launch my app after screen unlocking

I want to launch my app after screen unlocking. I don't want to send it to AppStore, just for home use. Is it possible with private-api?

To launch app I can use custom url scheme, just need to catch unlock event. I see similar question here but it doesn't work when app is in background.

Upvotes: 0

Views: 812

Answers (2)

John Bassos
John Bassos

Reputation: 308

Try to hook into this method in SBAwayController SBLockScreenViewController -(void)finishUIUnlockFromSource:(int)

Upvotes: 1

leoujz
leoujz

Reputation: 35

I don't know how to do that. but i think your app is designed for special use, maybe you can consider that make your device never go to sleep and make your app never quit

Upvotes: 0

Related Questions