I want to open WIFI setting section from my iOS application, my code was working well before Swift 3 with iOS 9.2
if let settingsURL = URL(string: AppSetting
Just use:
UIApplication.shared.openURL(URL(string:"prefs:root=WIFI")!)