简体   繁体   中英

InAppSettingsKit - How to refresh titles/values programmatically?

I am using the titlesForSpecifier feature to feed titles into IASK dynamically. My titles array needs to be refreshed when another setting change.

eg list of state code for selection needs to be refreshed if user changes the country code.

Any ideas?

Reading the code it should be fine to reset the multipleValues property of your specifier to nil . That should trigger reloading the titles from the delegate. Now to make UITableView refresh the cells, either use reloadData or reloadRows(at:with:) .

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