I am working on an iphone application that displays tiled maps. I am currently using a CATiledLayer in a UIScrollView :
MyTiledDelegate *delegate=[[MyTi
You should subclass the CATiledLayer and return fadeDuration of 0 to disable fade-in:
@interface FastCATiledLayer : CATiledLayer
@end
@implementation FastCATiledLayer
+(CFTimeInterval)fadeDuration {
return 0.0;
}
@end
I also had the problem with fade in animation not completing, what helped was to set the background color of the view to [UIColor clearColor]
Try subclassing and overriding the +fadeDuration
accessor on the layer.
Or in Swift 4:
class CAFastTiledLayer: CATiledLayer {
class func fadeDuration() -> CFTimeInterval {
return 0.0
}
}