uitableview - Transparent custom UITableViewCell -
I've finally finished my first big application, only one problem is that I've paid a lot of attention to the design, And I'm using custom seamlessly as a room with a transparent background. When I tried to test the application on my iPhone, the display was very awesome.
Is there a way to get better scrolling performance using transparent cells with an image view behind the UTTable Weave?
I 'read mostly two articles:
blog.atebits.com/2008/12/fast-scrolling-in-tweetie-with-uitableview/cocoawithlove.com/2009/04/easy -custom-uitableview-drawing.html
Good, but what if I want to use transparent cells?
A) uses solid color. B) Image viewer uses as background.
Any help would be greatly appreciated. I want to release this baby as soon as possible, but now as good as the performance is equally awesome!
First stop, stop using nbs, a cell is created every time, To disconnect the discs are to kill. 3.1 In fact, it will make better, but by then, please make your cell in code.
Second, remove transparency wherever you can. Whatever is not needed to be transparent, it should not be. And which is not transparent, it should be set to opaque
property yes
.
A third suggestion is that if you are using a lot of subviews, you will see a performance profit by using a custom view to attract everything instead of a group of subviews. If you choose to go on the road, then you should consider that when walking in landscape mode (such as how the action of stretch), or if you have any control that handles the touch differently from the cell Is obtained.
Comments
Post a Comment