How to open battery settings from my app in iOS 18 using Swift?

Hi All, I am facing one problem in my app. That is open battery settings from my app. It is working fine in iOS 16.0.0 and it's not working in iOS 18.6.1 is it possible to make it workable in iOS 18.6.1? If so How to do that? Please help me over this to resolve the problem.

Thanks, Nguyen Quang Minh

Well, what are you doing in 16.0.0 that works? Show us the code.

It's very hard to help when you don't give us the information.

How to open battery settings from my app in iOS 18 using Swift?
 
 
Q