Lizza
Lizza

Reputation: 2819

My iOS app runs REALLY slow on iOS 5, what could it be?

Ok, I have a simple reader app that I've had on the store for a while, and it works great. I have a sqlite db of content and I use fmdb to talk to it. I load up my text and display it in a UIWebView. Pretty simple stuff.

When iOS 5 went live, I started getting emails about the app not running right. Sure enough, it is running VERY slow. I have a UISegmentedControl to toggle between chapters, it literally freezes the UI for 10 seconds before it does anything. There are a few other instances where this is the case.

What is going on? The app still works technically, but it is just so slow it is unusable. Has anyone else seen this? Does anybody have any ideas as to what might be going on?

Upvotes: 0

Views: 651

Answers (1)

Chris Parker
Chris Parker

Reputation: 1252

You should run your application under Instruments and let it tell where the program is spending most of its time. The time sampling tool should give you breakdown of the methods which are consuming the most number of samples for a given run.

Upvotes: 2

Related Questions