iOS开发-每日一记-获取相册访问权限

2016-06-09  本文已影响68人  木_风

- (BOOL)authStatus{

ALAuthorizationStatusauthor = [ALAssetsLibrary authorizationStatus];

if(author==ALAuthorizationStatusRestricted||author==ALAuthorizationStatusDenied){

          //无权限

         returnNO;

     }else{

              returnYES;

}

上一篇下一篇

猜你喜欢

热点阅读