contentInsetAdjustmentBehavior property
Configures how safe area insets are added to the adjusted content inset. The default value is IOSUIScrollViewContentInsetAdjustmentBehavior.NEVER.
Implementation
IOSUIScrollViewContentInsetAdjustmentBehavior contentInsetAdjustmentBehavior;