RotatingViewController: Display a different UIViewController depending on the orientation of the device

On 10/11/2011, in Cocoa Touch, English, Objective C, by frr149

RotatingViewController Sometimes you may want to display a different view in landscape and portrait mode. A good example is Apple’s Calculator: it switches from normal in portrait mode to scientific in landscape mode. There are several reasons you may want to do so: Your view is very complex and it’s impossible or very difficult to reuse [...]

Tagged with:  

Enseñar distintas UIViews cuando se rota el iPhone o iPad

On 14/04/2011, in Cocoa Touch, by FRR

UIViews Aunque puedes crear una vista que se adapta a la orientación horizontal y vertical, no es nada sencillo el hacerlo en caso de tener una jerarquía de UIViews no trivial.  La posibilidad de enseñar vistas distintas dependiendo de la orientación es interesante por varias razones distintas: Tu vista es muy compleja y resulta imposible [...]

Tagged with: