iphone - UIView Autoresizing Resources -


I am working on autoresizing a custom UIView and Apple is too little to say on it, there is more to it, some feedback Based on this, Apple's documentation is actually wrong in some areas. Finally, even if the interface builder has six recycling components and setAutoresizingMask for six: They do not seem to correlate at all. For example, by setting the width of the spring in the IB, there is a different effect from setting autoresizingmask to UIViewAutoresizingFlexibleWidth while rotating the device.

Edit:

I have a good resource for how Resizing works on the iPhone. Understand that Apple reads basic concepts like content mode, and I have read UIView document I'm looking for something that is available in the SDK program, in terms of what the IB setting does. Setting autoresizingmask to UIViewAutoresizingFlexibleWidth , width is equal to setting the spring, as well as in both the left and right struts in the interface builder (struts means that the edge < Em> not is flexible). If you only wanted to repeat the behavior of the width of the spring settings, but there were no left and right struts, then you have to set autoresizingmask to UIViewAutoresizingFlexibleWidth. UIViewAutoresizingFlexibleLeftMargin | UIViewAutoresizingFlexibleRightMargin


Comments

Popular posts from this blog

oracle - The fastest way to check if some records in a database table? -

php - multilevel menu with multilevel array -

jQuery UI: Datepicker month format -