TwitterBirdAnimation
TwitterBirdAnimation copied to clipboard
Having glitches when you run it in device
When you run the same code in device it has glitches.....
Could you tell me what glitches?
It works fine in simulator....
When you try the same in device after the animation the masked image will appear for a instance
Sent from my iPhone
On 09-Jul-2014, at 6:02 pm, Rounak [email protected] wrote:
Could you tell me what glitches?
— Reply to this email directly or view it on GitHub.
it doesn't work in device, I got a blue screen when I run in device
using Xcode 6 beta 5, device version: 7.1
any idea for the since code in objective C..... ?
You need to add the following to prevent the glitching
keyFrameAnimation.fillMode = kCAFillModeForwards;
keyFrameAnimation.removedOnCompletion = NO;
@Rich2k Why this isn't a good solution: http://ronnqvi.st/clear-animation-code/
Update: I missed that the mask/animation gets removed on completion, therefore this is mood and it should be fine to use the solution provided.