theiOSguy
theiOSguy

Reputation: 608

iOS Image View does not render image until touched

I have a table. Each cell of this table is an another table transformed at -90 degree angle. Each cell of this transformed table has an image. These images are coming from server over GCD thread and when image is available, I cal table relaodData but for some reason, the image is not shown/rendered until I touch and try to scroll that table cells. So seems like setNeedsDisplay API is not kind of doing its job at right time. I understand it does call this method at the end of run-loop but if it means my runloop os busy doing something else then how do I find out what else does it doing and hence not finding the time to render? OR is it something else?

Upvotes: 2

Views: 235

Answers (1)

Bagbyte
Bagbyte

Reputation: 863

Have you tryed using UIScrollView instead of UITableView for horiyontal scrolling? You can easily define how many pages/images you want to display, use the paging functionality to scroll between them.

Upvotes: 1

Related Questions