Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Custom view controller for Settings bundle?

I have an application with a settings view that loads settings dynamically from a remote server. It's working fine.

I want to also make these available in iPhone Settings, but the Settings bundle seems to be limited to simple key-values loaded and saved to the local NSUserDefaults. Is there a way to specify a custom view for this?

like image 203
hyn Avatar asked Mar 01 '23 16:03

hyn


1 Answers

Setting bundles are based on plist files and do not contain any code. You cannot perform any kind of calculation in the Settings app. You have build your own settings UI and put it in your app.

Apple does use more complex settings bundles which perform code, but apps in the App Store cannot do that.

like image 196
Nikolai Ruhe Avatar answered Mar 11 '23 16:03

Nikolai Ruhe