InAppSettingsKit - How to refresh titles/values programmatically?

100 Views Asked by At

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

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

Any ideas?

1

There are 1 best solutions below

1
On BEST ANSWER

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:).