9.0 Released! → Native ESM runtimes 🚀, Vite support ⚡️, multi-window apps and more...
Read Announcement

Various iOS view helper methods

Classes ​

ClassDescription
UIAdaptivePresentationControllerDelegateImp-
UILayoutViewController-
UIPopoverPresentationControllerDelegateImp-

Variables ​

VariableDescription
traitCollectionColorAppearanceChangedEventString value used when hooking to traitCollectionColorAppearanceChangedEvent event.
traitCollectionLayoutDirectionChangedEventString value used when hooking to traitCollectionLayoutDirectionChangedEvent event.

Functions ​

FunctionDescription
expandBeyondSafeArea-
getFrameFromPosition-
getParentWithViewControllerReturns a view with viewController or undefined if no such found along the view's parent chain.
getPositionFromFrame-
invalidateStatusBarAppearance-
layoutView-
shrinkToSafeArea-
updateAutoAdjustScrollInsets-
updateConstraints-
Previous
text