JTOpenDoorAnimtedViewController
JTOpenDoorAnimtedViewController copied to clipboard
Rotation iOS6
I want to have the open door animation happen after clicking a button.
After clicking the button, I presented the JTOpenDoorViewController. The animation works fine, except it doesn't seem to rotate properly.
To fire the animation with a button, just add a UIButton to the JTOpenDoorViewController's view and move the code located in the viewDidAppear method to your method. I had no need for the rotation, and the animation will no work properly if you rotate while animating. I'll try to check at view launch the orientation.