CLAuthorizationStatusstatus=[CLLocationManagerauthorizationStatus];
if(kCLAuthorizationStatusDenied==status||
kCLAuthorizationStatusRestricted==status){
[MSMessageViewshowMessage:@"请打开您的位置服务!"];
}
CLAuthorizationStatusstatus=[CLLocationManagerauthorizationStatus];
if(kCLAuthorizationStatusDenied==status||
kCLAuthorizationStatusRestricted==status){
[MSMessageViewshowMessage:@"请打开您的位置服务!"];
}
本文标题:判断是否打开位置服务
本文链接:https://www.haomeiwen.com/subject/uiuauttx.html
网友评论