I need to open up the Files app from within my app. This is an internal application not going on the app store so I'm not worried about trying to use private URLs.
I've tried
"App-Prefs:root=files"
"App-Prefs:root=FILES"
"App-Prefs:root=Files"
in
let url = URL.init(string: "App-Prefs:root=Files")!
UIApplication.shared.open(url, options: [:]) { (Bool) in
print("opened")
}
Depending on the string it will either not open anything or open the settings application.