ios - UITableView within UITableViewCell does not get updated -


i have tried create custom cell display list of items. achieve tried create custom cell uitableview inside scroll disabled.

the problem have when try apply changes cells in inner uitableview data not updated , cell stays was. have tried calling [tableview reloaddata], [cell setneedsdispaly], [cell setneedslayout] no avail.

it seems data has been applied when cell initialised persists through attempts change it. though, when create breakpoint in cellforrowatindexpath: data updated not rendered.(e.g. text property of uilabel has new value, text old on screen.)

you need nil cell , reload table view. reason ios caches table view data , stuff doesn't updated correctly.


Comments

Popular posts from this blog

toolbar - How to add link to user registration inside toobar in admin joomla 3 custom component -

linux - disk space limitation when creating war file -