Unable to open settings app from custom app

I am able to open software update section of settings app from my custom app. But when settings app is already opened with other section other than software update. Settings app opens with previous section & not opens with software update section. Issue is in iOS 16.4.1 Below is my code:

if let url = URL(string: "App-prefs:root=Settings&path=General/SOFTWARE_UPDATE_LINK") { UIApplication.shared.open(url) } I also have did some modification in info section of project & below is screen shot attached.

Answered by DTS Engineer in 811693022

Opening URLs for schemes that aren’t document isn’t supported. I discuss this issue in detail in Supported URL Schemes.

Share and Enjoy

Quinn “The Eskimo!” @ Developer Technical Support @ Apple
let myEmail = "eskimo" + "1" + "@" + "apple.com"

Hello,

Did you find the solution for this? I have the same problem.

Opening URLs for schemes that aren’t document isn’t supported. I discuss this issue in detail in Supported URL Schemes.

Share and Enjoy

Quinn “The Eskimo!” @ Developer Technical Support @ Apple
let myEmail = "eskimo" + "1" + "@" + "apple.com"

Unable to open settings app from custom app
 
 
Q