orientation is not properly working
I am new in iphone i am developing a application with orientation but this is not work properly. My problem is when we set the orientation in a view and it work as landscape and portrait  and other view also work orientation but when we one view is in portrait and next button press other view is not in portrait.   
orientation is not properly working
===

I am new in iphone i am developing a application with orientation but this is not work properly. My problem is when we set the orientation in a view and it work as landscape and portrait  and other view also work orientation but when we one view is in portrait and next button press other view is not in portrait.   