iOS10 下APP内跳转到系统设置WIFI界面

Posted 喜狼狼

tags:

篇首语:本文由小常识网(cha138.com)小编为大家整理,主要介绍了iOS10 下APP内跳转到系统设置WIFI界面相关的知识,希望对你有一定的参考价值。

NSURL *url = [NSURL URLWithString:@"Prefs:root=WIFI"];

Class LSApplicationWorkspace = NSClassFromString(@"LSApplicationWorkspace");

[[LSApplicationWorkspace performSelector:@selector(defaultWorkspace)] performSelector:@selector(openSensitiveURL:withOptions:) withObject:url withObject:nil];





以上是关于iOS10 下APP内跳转到系统设置WIFI界面的主要内容,如果未能解决你的问题,请参考以下文章