Are UIView's in TableViewCells cause for performance problems?
Posted
by iFloh
on Stack Overflow
See other posts from Stack Overflow
or by iFloh
Published on 2010-05-22T11:33:49Z
Indexed on
2010/05/22
11:40 UTC
Read the original article
Hit count: 134
iphone
|objective-c
Hi, I have a UITableView of UITableViewCells that so far performed well. I now aded a simple UIView to my UITableViewCell as a color indicator (backgroundColor only, no other content or attributes).
Running the tableview again I realise scrolling is not as smooth as it used to be. The tableView suddenly also takes long time (~1+ secs) to come back again when returning from a subview (e.g. return from the view that gets pushed upon selection of a cell).
Any ideas why the added UIView would be problematic? Why are the labels (being a subclass of UIView) not cause for similar issues?
© Stack Overflow or respective owner