首页 > 代码库 > iOS10 下APP内跳转到系统设置WIFI界面

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界面