Iphone flip views using block animation methods
animation, block, iphone, methods, transition
Solution
[UIView animateWithDuration:0.5
delay:0.0
options:UIViewAnimationOptionTransitionFlipFromLeft
animations:^{
// Exchange the views here
[view1 removeFromSuperview];
[mySuperview addSubview:view2];
}
completion:NULL];
Problem
Hi I have looked without success for the answer to this. Am trying to flip views on iphone app. Rather than using the usual iOS3 methods I want to use block methods to animate the transition. Can anyone suggest a snippet of code to help please?