I do not know about:
Is it possible that if the user switches on landscape scene Be the size of the Iitextfied change as I have 4 text files in the scene .... just look and feel
< P> If you are using IB, there are two ways to do this.
-
Using Auto Resize properties in the Object Builder's object inspector, it will automatically resize your text-feeds.
-
If it is not enough for your needs, you must control it in your View Controller Method
- (zero) didRotateFromInterfaceOrientation : (Interface orientation from UIInterfaceOrientation {if (UIInterfaceOrientationIsPortrait (Interface Orientation)) {txtField.frame = CGRectMake (0, 0, 400, 31); } Else {// Orientation for Portrait}}
Comments
Post a Comment