Earlier this year I mentioned the concept of pre-permissions (asking the user for access permission before really asking them for permission) to increase user authorizations, and mentioned the ClusterPrePermissions library for photos and contacts and JLPermissions that adds support for pre-permissions for push notifications, reminders and the calendar.
Here’s an open source project providing a framework for asking your users for pre-permission called ISHPermissionKit from iOSphere.
iOSPhere is different from the components mentioned previously in that it provides a framework without a built-in interface so you can present your own views, allows you to present a sequence of asking for permission, and a unified API.
iOSPhere also provides support for many different permission categories, including as listed in the readme:
- CoreLocation: Always and WhenInUse
- CoreMotion: Activity data (step counting, etc.)
- Photos: Camera Roll and Camera
- Notifications: Local
- Social-Services: Facebook, Twitter, SinaWeibo, TencentWeibo
iOSphere works with iOS 8 and will fall back gracefully on iOS 7.
You can clone ISHPermissionKit from Github at:
You can find ISHPermissionKit on Github here.
A nice framework for asking users for pre-permissions.
Submit A Resource
Have you created a useful tutorial, library or tool for iOS development that you would like to get in front of our 300,000+ monthly page views from iOS developers?
You can submit the url here.
The resources we feel will appeal to our readers the most will be posted on the front page.