简体   繁体   中英

How add button in settings.bundle in ios

I am using settings.bundle in my iOS app but problem is how to add button in that page and handling that button. Can any body help me on this.

It's not possible. You cant run code in setting bundle. So it is useless. The system only supports interacting with the values from within your app.

The only thing you can do there is to include a list of options. There are apps like Netflix which have a kind of "action button". They implement a radio control (boolean) to reset their options. So when the app starts again it checks for the value of the property and it deletes everything if the radio is set to yes.

Apple documentation

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM