|Jun 24, 2008, 08: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|
|How do you set cursor initial cursor position and NSTextField bounds?||DavidBlack||Mac Programming||3||Mar 1, 2014 11:46 AM|
|UIView Layer Bounds Not Showing Correctly||Zoyt||iPhone/iPad Programming||2||Feb 23, 2014 10:53 PM|
|Why does NSArray throw out of bounds errors?||ArtOfWarfare||Mac Programming||2||May 3, 2013 11:18 AM|
|index 1 beyond bounds [0 .. 0] Core Data||luke3||iPhone/iPad Programming||3||Jul 6, 2012 12:44 PM|
All times are GMT -5. The time now is 01:43 PM.