Hai all,
SecondView *sv=[[SecondView alloc] initWithNibName:@"SecondView" bundle:nil];
[self presentModalViewController:sv animated:YES];
i like change the default animation (pop up from bottom) to fade or UIViewAnimationCurveEaseInOut
thanks in advance
Best Answer
from the documentation at apple's iphone dev site:
here are your options if you want to use what Apple gives you:
anything else, and you'll have to do it manually, which isn't too hard. First load your new view in the current or a new view controller. Set it to its initial state, start an animation block, call:
do whatever transformations you want then:
more info on the documentation for UIView:
UIView Class Reference