I have UIViewAnimationTransitionFlipFromLeft in my application and it displays a new view with a text field and two buttons. On the iPhone, as it's loading the view, the text field will be scrunched up and the text on the buttons off-center until the view has loaded, then after a very small delay, the text field and buttons' centerings will correct themselves. What am I doing wrong?
views:
51answers:
1
A:
I found the answer while searching through some topics on StackOverflow. For anyone who is interested, it was the ORDER of method calls that made the difference.
Original code:
- Set up the transition
- removeFromSuperview view1
- addSubview view2
- commitAnimations
No my drawing glitches when changed to:
- removeFromSuperview view1
- addSubview view2
- set up the transition
- commitAnimations
Derek
2010-08-10 08:16:31