Does anyone have experience using CATiledLayer for a large view?
I have an Image View that I'm adding to a UIScrollView. I thought about subclassing UIImageView to look like this:
Is that really all that I need to have the benefits of the tiled layer? Am I missing something here?
I'm not sure what I should be looking for to see if it's really working well or not.
I have an Image View that I'm adding to a UIScrollView. I thought about subclassing UIImageView to look like this:
Code:
@interface CustomImageView: UIImageView
@end
@implementation CustomImageView
+ (Class)layerClass
{
return [CATiledLayer class];
}
@end
Is that really all that I need to have the benefits of the tiled layer? Am I missing something here?
I'm not sure what I should be looking for to see if it's really working well or not.