I have i custom UIView and i’m setting an image to the contents of a layer. in the first time the UIViewController loads it takes 2-3 seconds for the image to appear. Why is this happening? and how can i fix it. CODE: var buttonImage: UIImage = UIImage(named: "circleArrow")! override func layoutSubviews() { super.layoutSubviews() self.setupView() […]
The post Slow loading of an image as a content of CALayer appeared first on BlogoSfera.