Toggling Privacy settings will kill the app

the OS sends a SIGKILL which is not a crash – Apple session on privacy in iOS6 says: If permissions changes, app is quit. Background task expiration handler is called, if registered iOS then kills the application. WWDC 2012 Session Videos: Privacy Support in iOS and OS X Expiration handler: beginBackgroundTaskWithExpirationHandler There is no way … Read more

Get a list of all contacts on iOS

In my original answer, at the end of this answer, I show how to retrieve contacts in iOS versions prior to 9.0 in a manner that addresses some of the problems entailed by other answers here. But, if only supporting iOS 9 and later, one should use the Contacts framework, avoiding some of the annoying … Read more