Switching between different iphone views is a regular thing I need to do. I want to find best practices around doing this. My class contains a method viewswitcher and it takes a parameter “viewName”. I am trying to pass controller name and this single method works for my whole app to slide or rotate views to show/display new views. But, I am getting error.
I am new. Please, if you find any silly mistake in my question please correct me.
Thank You.
Without specifics on your code or error, it’s tough.
But, From the UIView Programming Guide:
http://developer.apple.com/library/ios/#documentation/WindowsViews/Conceptual/ViewPG_iPhoneOS/CreatingViews/CreatingViews.html
http://developer.apple.com/library/ios/#documentation/UIKit/Reference/UIView_Class/UIView/UIView.html#//apple_ref/occ/clm/UIView/transitionFromView:toView:duration:options:completion: