On slow PNG image display in MapKit with iOS 5.1.x
On slow PNG image display in MapKit with iOS 5.1.x
- Subject: On slow PNG image display in MapKit with iOS 5.1.x
- From: Alex Zavatone <email@hidden>
- Date: Mon, 27 Aug 2012 18:25:51 -0400
I thought someone else might benefit from this little discovery, so here you go.
I've been a big fan of ImageOptim to mess with the internals of PNG files and make them nice and small, even with the new warning about use with Xcode and until recently, I've had no problems with PNG files being run through ImageOptim and used in iOS apps.
However, my MapKit overlays have become terribly slow when devices have been upgraded to iOS 5.1.x.
I just ran another fork of one of my apps that didn't use PNG files that have been run through ImageOptim but are MapKit overlays and they snap onto the screen almost instantly. No more 12 seconds to watch the files chunk in.
Even though ImageOptim can get you great file size savings with PNGs, I'd steer clear of using it with large PNGs (1000x +, 800y +) on iOS.
Hopefully, this will save someone else some headaches.
_______________________________________________
Cocoa-dev mailing list (email@hidden)
Please do not post admin requests or moderator comments to the list.
Contact the moderators at cocoa-dev-admins(at)lists.apple.com
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden