AppleAutoResizingMask - UBogun/Xojo-iosLib GitHub Wiki

Inherits from ./.
Memory leak check: passed
Status: complete

This is a helper class for AppleView objects, not a native iOS object.
Despite constraints, iOS still uses AutoresizingMasks to determine how to scale the dimensions of a view of its superview is scaled. An AutoresizingMask is basically just an UInteger. I attached properties to it so you don't have to remember the value for a certain setting.

Constructor

Constructor(): Creates a new ARMask.

Properties – all are Boolean except for ID which is the value the class instance represents.

Imagine all the properties to be the exact opposite of a Xojo desktop lock setting. When one of the following properties is true, its dimension is resized when the parent is resized.

TopMargin, BottomMargin, LeftMargin, RightMargin, Width, Height

Shared Properties

FullResize As AppleAutoResizingMask (read-only): A convenience method to get a AutoresizingMask that is set to resize in all directions.