enableAutoLayout
When enabled, the size calculated by iOS AutoLayout will take effect on LynxView.
Syntax
iOS
Parameter Description
enableAutoLayout: Boolean switch
- The default value is
false. When the value isfalse, LynxView will ignore the size results calculated by the AutoLayout engine. - When the value is
true, LynxView will use the size results calculated by the AutoLayout engine.
Example Code
Notes
When enabled, LynxView will automatically use the results calculated by the AutoLayout engine as the view size during layout. If updateViewport was previously used to set the view size, the settings from updateViewport will be overwritten.
Related documentation: Please refer to updateViewport.