Rahul Vyas
Rahul Vyas

Reputation: 28720

How to do smooth scrolling in UIScrollView?

I am using Apple's page control sample and showing three different types of views.

The scrolling is very slow on the device because I am using a UITableView and 5-7 labels on my view. Everything is updating from a database. How do I increase the performance of my scrolling behavior?

Upvotes: 0

Views: 3204

Answers (3)

Darin Wilson
Darin Wilson

Reputation: 61

As Nick noted, the link back to the original Tweetie article, but I found it in the Wayback Machine - here

In researching this issue for myself, I found two other articles that were useful:

Glassy Scrolling with UITableView

Fun Shadow Effects Using Custom CALayer Shadowpaths (this is actually what solved my problem - I was using drop shadows in my views)

Upvotes: 0

leolobato
leolobato

Reputation: 2379

Or you could make sure all components on your UITableViewCells are opaque. UITableView doesn't handle well transparency when scrolling.

Upvotes: 0

Related Questions