简体   繁体   中英

How to programmatically set multi-value preference?

I am using the InAppSettingsKit .

Now I want to create a multi-value preference with 24 different values and titles for the user to choose from (for each hour of the day).

Since I do not want to type all the values by hand, I'd like to know if there is a way to set them programatically everytime the 'SettingsViewController` opens?

Is there a way to do this?

This is currently not possible. However, there's a pull request to get titles and values from the delegate.

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