IFTTT/JazzHands

Which IOS versions supported?

KanybekMomukeyev opened this issue · 4 comments

You should write, which IOS versions supported.
I ve tested Demo app with IOS 6.1 and it crashed:

"Terminating app due to uncaught exception 'CALayerInvalidGeometry', reason: 'CALayer bounds contains NaN: [nan nan; nan nan]' "

It should work on 6.0 and above, as that's what the IFTTT app supports. I'll look into this. Thanks!

I am running into the same problem. I took the sample code and added it to my project. The sample code works fine when run separately, but I can't get it to run within my project. Both are building for iOS7. I've discovered that one of my IFTTTFrameAnimation objects has a frame of NaN. I have not discovered why this is happening. Any ideas?

It turns out that this is the error you get when the image you are using isn't valid. I had added the unicorn to my project for testing, but it had a different name in xcassets than the default project. The resulting imageView ends up having a frame with 0 width and 0 height. When trying to make the IFTTTFrameAnimation in the frameForTime the tweenValueForStartTime takes the 0 width/height frame and returns NaN. Thus the layer complaining about NaN.

JazzHands should support iOS 6 and newer.