how to flip from one view to another view in iphone sdk
<p>I wan't to flip from one view controller to another for that i used following coding on button click</p>

<pre><code>-(void)ClicOnLogout {
    LogOutViewController *logOut=[[LogOutViewController alloc]initwithnName:str];  
    logOut.modalTransitionStyle = UIModalTransitionStyleFlipHorizontal;  

    [self presentModalViewController:logOut animated:YES];  
}
</code></pre>

<p>but when i m in logout view controller there is one button but it won't work so can any one give me the proper  solution for it.</p>

<p>Thanx...</p>
