Latest 0.1.2
Homepage https://github.com/douglasddf/iOS-Check-Permission
License MIT
Platforms ios 8.0, requires ARC
Frameworks UIKit, CoreLocation, AVFoundation, AssetsLibrary, EventKit, Foundation
Authors

iOS-Check-Permission

With this library you can request permission from camera features, reminders, gallery and location (GPS support). When requesting the resource use the library responds by using iOS blocks with authorized or denied access.

CocoaPod

[![CI Status](http://img.shields.io/travis/Douglas Frari/iOS-Check-Permission.svg?style=flat)](https://travis-ci.org/Douglas Frari/iOS-Check-Permission)
Version
License
Platform

Requirements

iOS 8 or higher

See more on Youtube video:

Requests permission to access the iOS (Calendar, Reminder, Gallery and Location), with
option of receive the notification of the status not determined until receive the user’s permission.

Example of use:

There are 7 methods to use in the library:

- (void)checkPermissionAccessForCalendar:(void(^)(void))successBlock 
                             failureBlock:(void(^)(void))failureBlock;

- (void)checkPermissionAccessForCalendar:(void(^)(void))successBlock
                           failureBlock:(void(^)(void))failureBlock
       authorizationStatusNotDetermined:(void(^)(void))statusNotDeterminedBlock;

- (void)checkPermissionAccessForReminder:(void(^)(void))successBlock
                             failureBlock:(void(^)(void))failureBlock;

- (void)checkPermissionAccessForReminder:(void(^)(void))successBlock
                             failureBlock:(void(^)(void))failureBlock
         authorizationStatusNotDetermined:(void(^)(void))statusNotDeterminedBlock;

- (void)checkPermissionAccessForGallery:(void (^) (void))successBlock
                             failureBlock:(void (^) (void))failureBlock;

- (void)checkPermissionAccessForGallery:(void (^) (void))successBlock
                            failureBlock:(void (^) (void))failureBlock
        authorizationStatusNotDetermined:(void(^)(void))statusNotDeterminedBlock;

- (void)checkPermissionAccessForLocation:(enum AuthorizeRequestType) type
                                                  successBlock:(void (^) (void))successBlock
                                                  failureBlock:(void (^) (void))failureBlock;

Usage

To run the example project, clone the repo, and run pod install from the Example directory first.

Installation

iOS-Check-Permission is available through CocoaPods. To install
it, simply add the following line to your Podfile:

pod "iOS-Check-Permission"

For download the Demo example, use:

pod try iOS-Check-Permission

Author

Douglas Frari – http://www.twitter.com/douglasddf (twitter)

License

iOS-Check-Permission is available under the MIT license. See the LICENSE file for more info.

Latest podspec

{
    "name": "iOS-Check-Permission",
    "version": "0.1.2",
    "summary": "Permits the user request for permission access the iOS (Calendar , Reminder, Gallery and Location)",
    "description": "**iOS Check Permissions**nnOffer a set of methods to solicit the use of operating system resources (iOS),nthrough the permissions to authorize the use of resources such as:nn- Cameran- Galleryn- Remindern- LocationnnnnSee more on Youtube video:nn- https://www.youtube.com/watch?v=JxdlaEp6dC0",
    "homepage": "https://github.com/douglasddf/iOS-Check-Permission",
    "license": "MIT",
    "authors": {
        "Douglas Frari": "[email protected]"
    },
    "source": {
        "git": "https://github.com/douglasddf/iOS-Check-Permission.git",
        "tag": "0.1.2"
    },
    "social_media_url": "https://twitter.com/douglasddf",
    "platforms": {
        "ios": "8.0"
    },
    "requires_arc": true,
    "source_files": "Pod/Classes/**/*",
    "resource_bundles": {
        "iOSCheckPermission": [
            "Pod/Assets/*.png"
        ]
    },
    "public_header_files": "Pod/Classes/**/*.h",
    "frameworks": [
        "UIKit",
        "CoreLocation",
        "AVFoundation",
        "AssetsLibrary",
        "EventKit",
        "Foundation"
    ]
}

Pin It on Pinterest

Share This