Go Back   MacRumors Forums > Apple Systems and Services > Programming > Mac Programming

Thread Tools Search this Thread Display Modes
Old Jun 24, 2008, 08:13 AM   #1
macrumors 6502
Join Date: May 2008
Location: Bangalore
Send a message via Yahoo to sujithkrishnan
view bounds and orientation

Hi all,

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...
sujithkrishnan is offline   0 Reply With Quote

MacRumors Forums > Apple Systems and Services > Programming > Mac Programming

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Similar Threads
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

Forum Jump

All times are GMT -5. The time now is 12:36 AM.

Mac Rumors | Mac | iPhone | iPhone Game Reviews | iPhone Apps

Mobile Version | Fixed | Fluid | Fluid HD
Copyright 2002-2015, MacRumors.com, LLC