iOS开发-每日一记-获取相册访问权限
2016-06-09 本文已影响68人
木_风
- (BOOL)authStatus{
ALAuthorizationStatusauthor = [ALAssetsLibrary authorizationStatus];
if(author==ALAuthorizationStatusRestricted||author==ALAuthorizationStatusDenied){
//无权限
returnNO;
}else{
returnYES;
}