I have following transaction on a CALayer:
CATransaction.begin()
CATransaction.setAnimationDuration(2)
self.myLayer.opacity = 1
CATransaction.commit()
Since the transaction goes on for two seconds, there are moments where I have to cancel/pause. Is this possible?