Get Updates By E-mail 

Article Written By:
Johann Dowa

An Open Source Pre-Permissions Framework With Support For iOS 8 Permission APIs

  •  
  •  
  •  
  •  
  •  

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.)
  • Microphone
  • Photos: Camera Roll and Camera
  • Notifications: Local
  • Social-Services: Facebook, Twitter, SinaWeibo, TencentWeibo
  • Health-App

iOSphere works with iOS 8 and will fall back gracefully on iOS 7.

Here’s an animation from the readme showing the framework in action:
ISHPermissionKit

You can clone ISHPermissionKit from Github at:

https://github.com/iosphere/ISHPermissionKit.git

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.

Comments