mercredi 28 janvier 2015

ios UI poor performance

Upon migrating my app from iOS7 to iOS8 I have encountered some SERIOUS UI thread lag and I have no idea what changed. I have been trying to profile my app to find the cause(s) of this UI slowness but every instrument I want to use is "not available for this device".


Here's a small example of what I'm dealing with: Let's say I fire up a list of events, my app will either pull a small xml file from the internet or will load a cached version of previously loaded XML that is now stored on the device. The cached version is loaded immediately (the data prints out in the console) but then the UI will take 30 seconds to lay out 10+ 400x100 nibs of UIView w/ text.


What is going on here? This works FINE on the iOS7 version of the app. How do I even attempt to profile something like this?




Aucun commentaire:

Enregistrer un commentaire