iphone - Fitting views for Portrait and Landscape for iPad -


i coming onto project looks in landscape view. when switch portrait, looks elements stay , things not resized fit view. of content on pages might not fit in portrait mode @ based on how things laid out in landscape.

if want make app in both orientations, best bet play around resizing on size inspector views items fit fine.

and views items not fit easily, rethink design , either use ipad functionality popover, or create separate view display data differently instead of resizing?

thanks.

quite bit can achieved playing resizing controls in ib (especially ones stick control side - may not obvious, "stiking"the control that's on top bottom side).

however, more robust solution have method reposition/resize controls depending on screen size (1024x768 or 768x1024). call whenever device rotated.

such method quite handy other purposes - e.g. if have view visible (like ad), you'll need resize rest non-full-screen size.


Comments

Popular posts from this blog

linux - Using a Cron Job to check if my mod_wsgi / apache server is running and restart -

actionscript 3 - TweenLite does not work with object -

jQuery Ajax Render Fragments OR Whole Page -