iOS開發(fā)如何實(shí)現(xiàn)跳轉(zhuǎn)到相應(yīng)權(quán)限設(shè)置里
注意:iOS8及以后調(diào)用如下方法:
NSURL *url = [NSURL URLWithString:UIApplicationOpenSettingsURLString];
先判斷是否開啟權(quán)限
if ([[UIApplication sharedApplication] canOpenURL:url]) { [[UIApplication sharedApplication] openURL:url]; }