UITableView Drawing Problems When ReloadData Is Called

前端 未结 1 1862
后悔当初
后悔当初 2020-12-15 14:10

I have a pretty large list of \'items\' (up to 250 entries) which is constantly changing. The list is being displayed in a UITableView.

I have a polling thread that

1条回答
  •  春和景丽
    2020-12-15 14:52

    Will it help if you do a [ myTable performSelectorOnMainThread:@selector(reloadData) withObject:nil waitUntilDone:NO] ?

    The problem you mentioned can arise if you do not action your GUI updates from the main thread.

    0 讨论(0)
提交回复
热议问题