ios - The best way to handle different orientations in an iPad -
ios - The best way to handle different orientations in an iPad -
i hoping folks on forum help me struggling with. writing ipad application has different layouts depending on orientation of device. device going show bunch of tiles on layout (think of checker board), each going have content related application. while in portrait more tiles few bits of information. in landscape want cut down number of tiles , show more info each tile.
my question improve way accomplish layout perspective? prefer remain in 1 xib, having had time getting auto resizing work correctly. know load separate xib files depending on orientation, , 1 time again when orientation changes, sounds clunky me.
what doing handle type of thing?
you can implement 2 views in 1 xib , alter visible in rotation, results in requiring twice many iboutlet
s 1 each property each view.
if hard layout changes alter xib, simple stuff (where autosizing resizing isn't working great) set frame new position in code. maintain in mind create nice chunk of code not ro pretty at. mock view in ib
still can frame positions move to.
ios
Comments
Post a Comment