|Jun 24, 2008, 09:13 AM||#1|
view bounds and orientation
In my iPhoen app, i am having a series of UITableViewControllers and the last view is a instance of UIviewController where i add some labels, textviews, image etc...
I am aligning my labels and textviews based on the self.view.bounds..
But if i change the orientation of device, the screen get rotating, but my labels and textviews are failing to align to the present orientation, it still maintaining the old bounds..
The labels and textviews are aligning to that orientation, which i kept when i loaded that view.
means.. if i hold in portrait mode and load that view, all labels and others will align correctly to portrait mode...if i change to landscape view, the UI will rotate, but still keeping bounds for portrait view, so many parts of my UI is outside screen...
Please note that
the tableviews are aligning automatically to whatever be the orientation, eventough i change often...
|Thread Tools||Search this Thread|
|thread||Thread Starter||Forum||Replies||Last Post|
|AdWhirl - moving view to centre screen on rotation||gwelmarten||iPhone/iPad Programming||0||Oct 19, 2011 12:09 PM|
|Strange problem with views, subviews, and orientation||MaxFreud||iPhone/iPad Programming||0||Jul 23, 2011 10:01 PM|
|View Controller and device orientation question||BrooklynDon||iPhone/iPad Programming||2||Jan 21, 2011 09:42 AM|
|Keep Rotating View Centered After Orientation? (Project Attached)||Darkroom||iPhone/iPad Programming||0||Jul 3, 2009 05:06 PM|
|what's the difference between bound and frame?||fenrus110||iPhone/iPad Programming||1||Oct 31, 2008 01:38 PM|
All times are GMT -5. The time now is 04:02 PM.