Transitionstyle of UIViewController presented modally
<p>I am using the below statement to define the transitionstyle </p>

<pre><code>_viewController.modalTransitionStyle = UIModalTransitionStyleFlipHorizontal; 
</code></pre>

<p>in the below code but the above statement is not flipping horizontally while presenting it modally</p>

<pre><code>@property (nonatomic, assign) UIModalTransitionStyle *modalTransitionStyle;
@synthesize modalTransitionStyle; 


self.view = [[[UIView alloc] initWithFrame:[[UIScreen mainScreen] bounds]]autorelease];

[self.view setFrame:CGRectMake(0, 0, self.view.frame.size.width, self.view.frame.size.height)];

_viewController = [[ModalViewController alloc] init];

UINavigationController *navigationController = [[UINavigationController alloc] initWithRootViewController:_viewController];

UIBarButtonItem * button = [[[UIBarButtonItem alloc] initWithBarButtonSystemItem:    UIBarButtonSystemItemDone target:self action:@selector(dismissView:)] autorelease];

UINavigationController *navigationController = [[UINavigationController alloc] initWithRootViewController:_viewController];

UIBarButtonItem * button = [[[UIBarButtonItem alloc] initWithBarButtonSystemItem:    UIBarButtonSystemItemDone target:self action:@selector(dismissView:)] autorelease];

[_viewController.navigationItem setLeftBarButtonItem:button animated:YES];

navigationController.navigationBar.tintColor = [UIColor brownColor];

_viewController.modalTransitionStyle = UIModalTransitionStyleFlipHorizontal;

[self.navigationController presentModalViewController:_viewController animated:YES];
</code></pre>

<p>Anyone knows that why it is so. When everthing is coded programmtically.</p>

<p>Thanks for help though.</p>
