views:

134

answers:

1

Hi folks,

During my iPhone app development, I saw this curious UITableView behavior which can be seen into this posted image:

http://img690.imageshack.us/i/screenone.png/

It happens after adding more cells to the table by touching in a "More" cell button at the end.

I can't figure out if the problem is the table data source or not? Cause as in the screenshot, the gapped cell stays bellow the one which has the tittle "Valentine's Day", and after a short scroll, the gapped cell changed and the last gapped one is now well presented.

I'm trying to fix it, but I can't figure out what is the real problem. Any hints?

Thanks in advance.

A: 

I found the answer for this problem in another thread: http://stackoverflow.com/questions/1037508/uitableview-drawing-problems-when-reloaddata-is-called

The problem here presented may arise if you update your app GUI from a not App main thread. I wish it can help others too.

Thanks.

George Piva