IOS7 app shake event detection

This has always been impossible in iOS6 and below, but with a new multitasking API, etc. in iOS7 I was wondering if this was possible. I am developing an application designed for personal safety ... The user should be able to run the "application" inside the application in the background ... The jitter function will be the best approach, but so far it seems impossible ..

Any help would be greatly appreciated. T

+4
source share
1 answer

The background task function is not what you think. Apple heavily regulates its use. You are probably thinking of a new iOS 7 background feature called Background Sample. You can expect activation to partially complete the background as a batch job every few hours.

A new background fetch function should be used when: "The application regularly downloads and processes small amounts of content from the network."

This will allow you to update the status of your application in the background so that the new iOS 7 multitasking feature allows you to see the updated status of the application in this view. There is no iOS 7 background state that does what you want.

+2
source

All Articles