Hi I have a problem I want to do horizontal transition but in other forum they say it is impossible
CrossViewController *screen = [[CrossViewController alloc] initWithNibName:nil bundle:nil];
screen.modalTransitionStyle = UIModalTransitionStyleCoverVertical;//here i must add som horizontal transition animation
[self presentModalViewController:screen animated:YES];
[screen.but setTitle:@"funguje" forState:UIControlStateNormal];
//screen.vyberUcet;
[screen release];
I found that but it does not work
Thanks
As per the UIViewController Class Reference the only valid UIModalTransitionStyle transitions supported by the presentModalViewController method are currently (iOS 4.2):
(See the “UIModalTransitionStyle” information within the “Constants” section towards the end of the document.)
Are you sure you want to present the view modally? (I can’t help but wonder if you’re attempting to create a UINavigationController style set up.)