2
0

LBXPermissionPhotos.h 460 B

1234567891011121314151617181920212223242526272829
  1. //
  2. // LBXPermissionPhotos.h
  3. // LBXKits
  4. //
  5. // Created by lbxia on 2017/9/10.
  6. // Copyright © 2017年 lbx. All rights reserved.
  7. //
  8. #import <Foundation/Foundation.h>
  9. @interface LBXPermissionPhotos : NSObject
  10. + (BOOL)authorized;
  11. /**
  12. photo permission status
  13. @return
  14. 0 :NotDetermined
  15. 1 :Restricted
  16. 2 :Denied
  17. 3 :Authorized
  18. */
  19. + (NSInteger)authorizationStatus;
  20. + (void)authorizeWithCompletion:(void(^)(BOOL granted,BOOL firstTime))completion;
  21. @end