- Simply use.
- Easy permission request.
- Xcode 9.0 +
- iOS 11.0 or greater
- Install CocoaPods
- Add this repo to your
Podfile
platform :ios, '11.0'
target 'ProjectName' do
use_frameworks!
pod 'KPermission'
end
- Run
pod install
- Open up the new
.xcworkspace
that CocoaPods generated - Whenever you want to use the library:
import KPermission
- Simply download the
KPermission
source files and import them into your project.
KPermission.shared.view.show(view: self.view, types: [.camera, .photoLibrary], animation: .scale)
Permission types:
- Camera
- Photo Library
- Notification
- Location
- Microphone
- Calander
- Contacts
- Reminder
- Motion
- Media Library
- Speech
Usage is provided under the MIT License. See LICENSE for the full details.