IPhone autoresizingmasks

I had problems with designing views, so subviews behave the way I want when using autoresistor masks (for example, when changing the size of the status bar when using the phone as an access point, etc.). Is there any good documentation that I should definitely read? Apple docs don't seem to help me, at least without any major testing.

+5
source share
3 answers

This is something that can be a little difficult to understand from documents and trial and error, but once you get it, you will wonder why you got so confused in the first place. I'd:

  • .
  • Interface Builder. spring UIViewAutoresizingFlexibleWidth ( ). UIViewAutoresizingFlexibleTopMargin off ( , ).
+4

autoresizingMask UIViewAutoresizingFlexibleWidth spring, Interface Builder ( , ). spring, , autoresizingMask UIViewAutoresizingFlexibleWidth | UIViewAutoresizingFlexibleLeftMargin | UIViewAutoresizingFlexibleRightMargin

. url - http://www.techotopia.com/index.php/IOS_4_iPhone_Rotation,_View_Resizing_and_Layout_Handling

- Autoresizing UIView

+1

Builder " " , . , , , .

0

All Articles