ios - Detecting iPhone's idle state programmatically -
i have problem guys.i have requirement app should detect if device idle without application running or without user interaction application or at-least know if device in home screen.what asking may stupid requirement.is there way achieve this. me
ok, enterprise apps different. think can done.
have app record whenever it's launched user (the app delegate receives events when app enters/exits foreground).
then setup "local push notification" several times day launches app in background , checks log see if last entry "did leave".
if is, load url itms services url install new version of app.
Comments
Post a Comment