Register FAQ / Rules Forum Spy Search Today's Posts Mark Forums Read
Go Back   MacRumors Forums > Apple Systems and Services > Programming > Mac Programming

Reply
 
Thread Tools Search this Thread Display Modes
Old Jun 24, 2008, 08:13 AM   #1
sujithkrishnan
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

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

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump

Similar Threads
thread Thread Starter Forum Replies Last Post
AdWhirl - moving view to centre screen on rotation gwelmarten iPhone/iPad Programming 0 Oct 19, 2011 11:09 AM
Strange problem with views, subviews, and orientation MaxFreud iPhone/iPad Programming 0 Jul 23, 2011 09:01 PM
View Controller and device orientation question BrooklynDon iPhone/iPad Programming 2 Jan 21, 2011 08:42 AM
Keep Rotating View Centered After Orientation? (Project Attached) Darkroom iPhone/iPad Programming 0 Jul 3, 2009 04:06 PM
what's the difference between bound and frame? fenrus110 iPhone/iPad Programming 1 Oct 31, 2008 12:38 PM


All times are GMT -5. The time now is 09:43 AM.

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

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