Latest 0.0.4
Homepage https://github.com/llliang/NPhotoLibrary
License MIT
Platforms ios 9.0
Authors

example

NPhotoPrivacyAuthorizationManager.requestAuthorization { (type, state) -> (Void) in
            if type == NPhotoPrivacyAuthorizationManager.PrivacyType.library && state == NPhotoPrivacyAuthorizationManager.AuthorizationStatus.authorized {
                let imageController = NPhotoPickerViewController()
                imageController.maxCount = 9 // The maximum number of selection
                imageController.selectedImages(callback: { (images) -> (Void) in
                    // results images
                })
                self.present(imageController, animated: true, completion: nil)
                //                self.navigationController?.pushViewController(imageController, animated: true)
            } else {
                print("PrivacyType--%d, AuthorizationStatus--%d", type, state)
            }
        }

Latest podspec

{
    "name": "NPhotoLibrary",
    "version": "0.0.4",
    "summary": "easy to use photo library",
    "swift_version": "4.0",
    "description": "easy to use photo library -- NPhotoLibrary",
    "homepage": "https://github.com/llliang/NPhotoLibrary",
    "license": "MIT",
    "authors": {
        "Jiang Liang": "[email protected]"
    },
    "platforms": {
        "ios": "9.0"
    },
    "source": {
        "git": "https://github.com/llliang/NPhotoLibrary.git",
        "tag": "0.0.4"
    },
    "source_files": "*/*.swift"
}

Pin It on Pinterest

Share This