How to programmatically set multi-value preference?

266 views Asked by At

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?

1

There are 1 answers

0
Ortwin Gentz On BEST ANSWER

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