I have a custom animation involving sliding 3 UIViews past one another. Each UIView contains many UIImageViews. Some of the UIImageViews have large transparent areas. I notice that performance is significantly reduced when the UIImageVIews with large transparent areas are on-screen. I am preloading all my images, and using image cacheing. I doubt lazy loading would improve performance.
Is there an “easy” way to improve performance? I tried self.layer.shouldRasterize=YES; and it made it much worse. Would using cocos2d improve things?
I have a custom animation involving sliding 3 UIView s past one another. Each
Share
Using cocos2d is not an “easy” way since it does not mix well with UIKit.
But if that is ok for you, yes performance could be improved a lot.
Since you mention performance, maybe UIKit isn’t your best option anyway?
I guess UIKit is for simple generic interfaces and not performance heavy
stuff anyway.