Im making an ios app in xcode 4 and I need a way of changing what is displayed on the screen when the device orientation changes.
does anyone know how to do this?
thanks.
Im making an ios app in xcode 4 and I need a way of changing what is displayed on the screen when the device orientation changes.
does anyone know how to do this?
thanks.
probably you need to check first how to detect if the device orientation changes see here: how to detect orientation change
then on the example on the link, you should know ho to change the view which is displayed on the screen. You can do it by using methods such as addSubview, presentModalViewController, pushViewController(for NavigationController) eg: