layoutFittingCompressedSize
TypeScriptstatic get layoutFittingCompressedSize(): Promise<{ width: number; height: number }>Swift declarationclass let layoutFittingCompressedSize: CGSizeclass · iOS 2.0+ · SDK 27.1
@MainActor class UIViewstatic get layoutFittingCompressedSize(): Promise<{ width: number; height: number }>Swift declarationclass let layoutFittingCompressedSize: CGSizestatic get layoutFittingExpandedSize(): Promise<{ width: number; height: number }>Swift declarationclass let layoutFittingExpandedSize: CGSizestatic get noIntrinsicMetric(): Promise<number>Swift declarationclass let noIntrinsicMetric: CGFloatstatic addKeyframe(frameStartTime: number, frameDuration: number, animations: (() => void)): Promise<void>Swift declarationclass func addKeyframe(withRelativeStartTime frameStartTime: Double, relativeDuration frameDuration: Double, animations: @escaping () -> Void)static animateKeyframes(duration: number, delay: number, options: UIView_KeyframeAnimationOptions, animations: (() => void), completion?: (((arg0: boolean) => void)) | null): Promise<void>Swift declarationclass func animateKeyframes(withDuration duration: TimeInterval, delay: TimeInterval, options: UIView.KeyframeAnimationOptions = [], animations: @escaping () -> Void) async -> Boolstatic animateWithDurationAnimations(duration: number, animations: (() => void)): Promise<void>Swift declarationclass func animate(withDuration duration: TimeInterval, animations: @escaping () -> Void)static animateWithDurationAnimationsCompletion(duration: number, animations: (() => void), completion?: (((arg0: boolean) => void)) | null): Promise<void>Swift declarationclass func animate(withDuration duration: TimeInterval, animations: @escaping () -> Void, completion: ((Bool) -> Void)? = nil)static animateWithDurationDelayOptionsAnimationsCompletion(duration: number, delay: number, options: UIView_AnimationOptions, animations: (() => void), completion?: (((arg0: boolean) => void)) | null): Promise<void>Swift declarationclass func animate(withDuration duration: TimeInterval, delay: TimeInterval, options: UIView.AnimationOptions = [], animations: @escaping () -> Void, completion: ((Bool) -> Void)? = nil)static animateWithDurationDelayUsingSpringWithDampingInitialSpringVelocityOptionsAnimationsCompletion(duration: number, delay: number, dampingRatio: number, velocity: number, options: UIView_AnimationOptions, animations: (() => void), completion?: (((arg0: boolean) => void)) | null): Promise<void>Swift declarationclass func animate(withDuration duration: TimeInterval, delay: TimeInterval, usingSpringWithDamping dampingRatio: CGFloat, initialSpringVelocity velocity: CGFloat, options: UIView.AnimationOptions = [], animations: @escaping () -> Void, completion: ((Bool) -> Void)? = nil)static beginAnimations(animationID?: (string) | null, context?: (SDKHandle) | null): Promise<void>Swift declarationclass func beginAnimations(_ animationID: String?, context: UnsafeMutableRawPointer?)static commitAnimations(): Promise<void>Swift declarationclass func commitAnimations()static modifyAnimations(count: number, autoreverses: boolean, animations: (() => void)): Promise<void>Swift declarationclass func modifyAnimations(withRepeatCount count: CGFloat, autoreverses: Bool, animations: () -> Void)static perform(animation: UIView_SystemAnimation, views: Array<UIView>, options?: UIView_AnimationOptions, parallelAnimations?: ((() => void)) | null, completion?: (((arg0: boolean) => void)) | null): Promise<void>Swift declarationclass func perform(_ animation: UIView.SystemAnimation, on views: [UIView], options: UIView.AnimationOptions = [], animations parallelAnimations: (() -> Void)?, completion: ((Bool) -> Void)? = nil)static performWithoutAnimation(actionsWithoutAnimation: (() => void)): Promise<void>Swift declarationclass func performWithoutAnimation(_ actionsWithoutAnimation: () -> Void)static setAnimationBeginsFromCurrentState(fromCurrentState: boolean): Promise<void>Swift declarationclass func setAnimationBeginsFromCurrentState(_ fromCurrentState: Bool)static setAnimationCurve(curve: UIView_AnimationCurve): Promise<void>Swift declarationclass func setAnimationCurve(_ curve: UIView.AnimationCurve)static setAnimationDelay(delay: number): Promise<void>Swift declarationclass func setAnimationDelay(_ delay: TimeInterval)static setAnimationDelegate(delegate?: (unknown) | null): Promise<void>Swift declarationclass func setAnimationDelegate(_ delegate: Any?)static setAnimationDuration(duration: number): Promise<void>Swift declarationclass func setAnimationDuration(_ duration: TimeInterval)static setAnimationRepeatAutoreverses(repeatAutoreverses: boolean): Promise<void>Swift declarationclass func setAnimationRepeatAutoreverses(_ repeatAutoreverses: Bool)static setAnimationRepeatCount(repeatCount: number): Promise<void>Swift declarationclass func setAnimationRepeatCount(_ repeatCount: Float)static setAnimationStart(startDate: globalThis.Date): Promise<void>Swift declarationclass func setAnimationStart(_ startDate: Date)static setAnimationTransition(transition: UIView_AnimationTransition, view: UIView, cache: boolean): Promise<void>Swift declarationclass func setAnimationTransition(_ transition: UIView.AnimationTransition, for view: UIView, cache: Bool)static setAnimationsEnabled(enabled: boolean): Promise<void>Swift declarationclass func setAnimationsEnabled(_ enabled: Bool)static transitionFromToDurationOptionsCompletion(fromView: UIView, toView: UIView, duration: number, options?: UIView_AnimationOptions, completion?: (((arg0: boolean) => void)) | null): Promise<void>Swift declarationclass func transition(from fromView: UIView, to toView: UIView, duration: TimeInterval, options: UIView.AnimationOptions = [], completion: ((Bool) -> Void)? = nil)static transitionWithDurationOptionsAnimationsCompletion(view: UIView, duration: number, options?: UIView_AnimationOptions, animations?: ((() => void)) | null, completion?: (((arg0: boolean) => void)) | null): Promise<void>Swift declarationclass func transition(with view: UIView, duration: TimeInterval, options: UIView.AnimationOptions = [], animations: (() -> Void)?, completion: ((Bool) -> Void)? = nil)static userInterfaceLayoutDirectionFor(attribute: UISemanticContentAttribute): Promise<UIUserInterfaceLayoutDirection>Swift declarationclass func userInterfaceLayoutDirection(for attribute: UISemanticContentAttribute) -> UIUserInterfaceLayoutDirectionstatic userInterfaceLayoutDirectionForRelativeTo(semanticContentAttribute: UISemanticContentAttribute, layoutDirection: UIUserInterfaceLayoutDirection): Promise<UIUserInterfaceLayoutDirection>Swift declarationclass func userInterfaceLayoutDirection(for semanticContentAttribute: UISemanticContentAttribute, relativeTo layoutDirection: UIUserInterfaceLayoutDirection) -> UIUserInterfaceLayoutDirectionstatic get areAnimationsEnabled(): Promise<boolean>Swift declarationclass var areAnimationsEnabled: Bool { get }static get inheritedAnimationDuration(): Promise<number>Swift declarationclass var inheritedAnimationDuration: TimeInterval { get }static get layerClass(): Promise<string>Swift declarationclass var layerClass: AnyClass { get }static get requiresConstraintBasedLayout(): Promise<boolean>Swift declarationclass var requiresConstraintBasedLayout: Bool { get }addConstraint(constraint: NSLayoutConstraint): Promise<void>Swift declarationfunc addConstraint(_ constraint: NSLayoutConstraint)addConstraints(constraints: Array<NSLayoutConstraint>): Promise<void>Swift declarationfunc addConstraints(_ constraints: [NSLayoutConstraint])addGestureRecognizer(gestureRecognizer: UIGestureRecognizer): Promise<void>Swift declarationfunc addGestureRecognizer(_ gestureRecognizer: UIGestureRecognizer)addInteraction(interaction: SDKHandle): Promise<void>Swift declarationfunc addInteraction(_ interaction: any UIInteraction)addLayoutGuide(layoutGuide: UILayoutGuide): Promise<void>Swift declarationfunc addLayoutGuide(_ layoutGuide: UILayoutGuide)addMotionEffect(effect: UIMotionEffect): Promise<void>Swift declarationfunc addMotionEffect(_ effect: UIMotionEffect)addSubview(view: UIView): Promise<void>Swift declarationfunc addSubview(_ view: UIView)alignmentRect(frame: { x: number; y: number; width: number; height: number }): Promise<{ x: number; y: number; width: number; height: number }>Swift declarationfunc alignmentRect(forFrame frame: CGRect) -> CGRectbringSubviewToFront(view: UIView): Promise<void>Swift declarationfunc bringSubviewToFront(_ view: UIView)constraintsAffectingLayout(axis: NSLayoutConstraint_Axis): Promise<Array<NSLayoutConstraint>>Swift declarationfunc constraintsAffectingLayout(for axis: NSLayoutConstraint.Axis) -> [NSLayoutConstraint]contentCompressionResistancePriority(axis: NSLayoutConstraint_Axis): Promise<UILayoutPriority>Swift declarationfunc contentCompressionResistancePriority(for axis: NSLayoutConstraint.Axis) -> UILayoutPrioritycontentHuggingPriority(axis: NSLayoutConstraint_Axis): Promise<UILayoutPriority>Swift declarationfunc contentHuggingPriority(for axis: NSLayoutConstraint.Axis) -> UILayoutPriorityconvertFrom(point: { x: number; y: number }, view?: (UIView) | null): Promise<{ x: number; y: number }>Swift declarationfunc convert(_ point: CGPoint, from view: UIView?) -> CGPointconvertTo(point: { x: number; y: number }, view?: (UIView) | null): Promise<{ x: number; y: number }>Swift declarationfunc convert(_ point: CGPoint, to view: UIView?) -> CGPointconvertFrom46065(rect: { x: number; y: number; width: number; height: number }, view?: (UIView) | null): Promise<{ x: number; y: number; width: number; height: number }>Swift declarationfunc convert(_ rect: CGRect, from view: UIView?) -> CGRectconvertTo56186(rect: { x: number; y: number; width: number; height: number }, view?: (UIView) | null): Promise<{ x: number; y: number; width: number; height: number }>Swift declarationfunc convert(_ rect: CGRect, to view: UIView?) -> CGRectdecodeRestorableState(coder: _Foundation_NSCoder): Promise<void>Swift declarationfunc decodeRestorableState(with coder: NSCoder)didAddSubview(subview: UIView): Promise<void>Swift declarationfunc didAddSubview(_ subview: UIView)didMoveToSuperview(): Promise<void>Swift declarationfunc didMoveToSuperview()didMoveToWindow(): Promise<void>Swift declarationfunc didMoveToWindow()draw(rect: { x: number; y: number; width: number; height: number }): Promise<void>Swift declarationfunc draw(_ rect: CGRect)drawFor(rect: { x: number; y: number; width: number; height: number }, formatter: UIViewPrintFormatter): Promise<void>Swift declarationfunc draw(_ rect: CGRect, for formatter: UIViewPrintFormatter)drawHierarchy(rect: { x: number; y: number; width: number; height: number }, afterUpdates: boolean): Promise<boolean>Swift declarationfunc drawHierarchy(in rect: CGRect, afterScreenUpdates afterUpdates: Bool) -> BooleffectiveRadius(corner: UIRectCorner): Promise<number>Swift declarationfunc effectiveRadius(corner: UIRectCorner) -> CGFloatencodeRestorableState(coder: _Foundation_NSCoder): Promise<void>Swift declarationfunc encodeRestorableState(with coder: NSCoder)endEditing(force: boolean): Promise<boolean>Swift declarationfunc endEditing(_ force: Bool) -> BoolexchangeSubview(index1: number, index2: number): Promise<void>Swift declarationfunc exchangeSubview(at index1: Int, withSubviewAt index2: Int)exerciseAmbiguityInLayout(): Promise<void>Swift declarationfunc exerciseAmbiguityInLayout()frameForAlignmentRect(alignmentRect: { x: number; y: number; width: number; height: number }): Promise<{ x: number; y: number; width: number; height: number }>Swift declarationfunc frame(forAlignmentRect alignmentRect: CGRect) -> CGRectgestureRecognizerShouldBegin(gestureRecognizer: UIGestureRecognizer): Promise<boolean>Swift declarationfunc gestureRecognizerShouldBegin(_ gestureRecognizer: UIGestureRecognizer) -> BoolhitTest(point: { x: number; y: number }, event?: (UIEvent) | null): Promise<(UIView) | null>Swift declarationfunc hitTest(_ point: CGPoint, with event: UIEvent?) -> UIView?static init(): Promise<UIView>Swift declarationconvenience init()static initCoder(coder: _Foundation_NSCoder): Promise<(UIView) | null>Swift declarationinit?(coder: NSCoder)static initFrame(frame: { x: number; y: number; width: number; height: number }): Promise<UIView>Swift declarationinit(frame: CGRect)insertSubviewAboveSubview(view: UIView, siblingSubview: UIView): Promise<void>Swift declarationfunc insertSubview(_ view: UIView, aboveSubview siblingSubview: UIView)insertSubviewAt(view: UIView, index: number): Promise<void>Swift declarationfunc insertSubview(_ view: UIView, at index: Int)insertSubviewBelowSubview(view: UIView, siblingSubview: UIView): Promise<void>Swift declarationfunc insertSubview(_ view: UIView, belowSubview siblingSubview: UIView)invalidateIntrinsicContentSize(): Promise<void>Swift declarationfunc invalidateIntrinsicContentSize()isDescendant(view: UIView): Promise<boolean>Swift declarationfunc isDescendant(of view: UIView) -> BoollayoutIfNeeded(): Promise<void>Swift declarationfunc layoutIfNeeded()layoutMarginsDidChange(): Promise<void>Swift declarationfunc layoutMarginsDidChange()layoutSubviews(): Promise<void>Swift declarationfunc layoutSubviews()needsUpdateConstraints(): Promise<boolean>Swift declarationfunc needsUpdateConstraints() -> Boolpoint(point: { x: number; y: number }, event?: (UIEvent) | null): Promise<boolean>Swift declarationfunc point(inside point: CGPoint, with event: UIEvent?) -> BoolremoveConstraint(constraint: NSLayoutConstraint): Promise<void>Swift declarationfunc removeConstraint(_ constraint: NSLayoutConstraint)removeConstraints(constraints: Array<NSLayoutConstraint>): Promise<void>Swift declarationfunc removeConstraints(_ constraints: [NSLayoutConstraint])removeFromSuperview(): Promise<void>Swift declarationfunc removeFromSuperview()removeGestureRecognizer(gestureRecognizer: UIGestureRecognizer): Promise<void>Swift declarationfunc removeGestureRecognizer(_ gestureRecognizer: UIGestureRecognizer)removeInteraction(interaction: SDKHandle): Promise<void>Swift declarationfunc removeInteraction(_ interaction: any UIInteraction)removeLayoutGuide(layoutGuide: UILayoutGuide): Promise<void>Swift declarationfunc removeLayoutGuide(_ layoutGuide: UILayoutGuide)removeMotionEffect(effect: UIMotionEffect): Promise<void>Swift declarationfunc removeMotionEffect(_ effect: UIMotionEffect)resizableSnapshotView(rect: { x: number; y: number; width: number; height: number }, afterUpdates: boolean, capInsets: { top: number; left: number; bottom: number; right: number }): Promise<(UIView) | null>Swift declarationfunc resizableSnapshotView(from rect: CGRect, afterScreenUpdates afterUpdates: Bool, withCapInsets capInsets: UIEdgeInsets) -> UIView?safeAreaInsetsDidChange(): Promise<void>Swift declarationfunc safeAreaInsetsDidChange()sendSubviewToBack(view: UIView): Promise<void>Swift declarationfunc sendSubviewToBack(_ view: UIView)setContentCompressionResistancePriority(priority: UILayoutPriority, axis: NSLayoutConstraint_Axis): Promise<void>Swift declarationfunc setContentCompressionResistancePriority(_ priority: UILayoutPriority, for axis: NSLayoutConstraint.Axis)setContentHuggingPriority(priority: UILayoutPriority, axis: NSLayoutConstraint_Axis): Promise<void>Swift declarationfunc setContentHuggingPriority(_ priority: UILayoutPriority, for axis: NSLayoutConstraint.Axis)setNeedsDisplay(): Promise<void>Swift declarationfunc setNeedsDisplay()setNeedsDisplay11691(rect: { x: number; y: number; width: number; height: number }): Promise<void>Swift declarationfunc setNeedsDisplay(_ rect: CGRect)setNeedsLayout(): Promise<void>Swift declarationfunc setNeedsLayout()setNeedsUpdateConstraints(): Promise<void>Swift declarationfunc setNeedsUpdateConstraints()setNeedsUpdateProperties(): Promise<void>Swift declarationfunc setNeedsUpdateProperties()sizeThatFits(size: { width: number; height: number }): Promise<{ width: number; height: number }>Swift declarationfunc sizeThatFits(_ size: CGSize) -> CGSizesizeToFit(): Promise<void>Swift declarationfunc sizeToFit()snapshotView(afterUpdates: boolean): Promise<(UIView) | null>Swift declarationfunc snapshotView(afterScreenUpdates afterUpdates: Bool) -> UIView?systemLayoutSizeFitting(targetSize: { width: number; height: number }): Promise<{ width: number; height: number }>Swift declarationfunc systemLayoutSizeFitting(_ targetSize: CGSize) -> CGSizesystemLayoutSizeFittingWithHorizontalFittingPriorityVerticalFittingPriority(targetSize: { width: number; height: number }, horizontalFittingPriority: UILayoutPriority, verticalFittingPriority: UILayoutPriority): Promise<{ width: number; height: number }>Swift declarationfunc systemLayoutSizeFitting(_ targetSize: CGSize, withHorizontalFittingPriority horizontalFittingPriority: UILayoutPriority, verticalFittingPriority: UILayoutPriority) -> CGSizetintColorDidChange(): Promise<void>Swift declarationfunc tintColorDidChange()updateConstraints(): Promise<void>Swift declarationfunc updateConstraints()updateConstraintsIfNeeded(): Promise<void>Swift declarationfunc updateConstraintsIfNeeded()updateProperties(): Promise<void>Swift declarationfunc updateProperties()updatePropertiesIfNeeded(): Promise<void>Swift declarationfunc updatePropertiesIfNeeded()updateTraitsIfNeeded(): Promise<void>Swift declarationfunc updateTraitsIfNeeded()forBaselineLayout(): Promise<UIView>Swift declarationfunc forBaselineLayout() -> UIViewviewPrintFormatter(): Promise<UIViewPrintFormatter>Swift declarationfunc viewPrintFormatter() -> UIViewPrintFormatterviewWithTag(tag: number): Promise<(UIView) | null>Swift declarationfunc viewWithTag(_ tag: Int) -> UIView?willMoveToSuperview(newSuperview?: (UIView) | null): Promise<void>Swift declarationfunc willMove(toSuperview newSuperview: UIView?)willMoveToWindow(newWindow?: (UIWindow) | null): Promise<void>Swift declarationfunc willMove(toWindow newWindow: UIWindow?)willRemoveSubview(subview: UIView): Promise<void>Swift declarationfunc willRemoveSubview(_ subview: UIView)get accessibilityIgnoresInvertColors(): Promise<boolean>Swift declarationvar accessibilityIgnoresInvertColors: Bool { get set }setAccessibilityIgnoresInvertColors(value: boolean): Promise<void>Swift declarationvar accessibilityIgnoresInvertColors: Bool { get set }get alignmentRectInsets(): Promise<{ top: number; left: number; bottom: number; right: number }>Swift declarationvar alignmentRectInsets: UIEdgeInsets { get }get alpha(): Promise<number>Swift declarationvar alpha: CGFloat { get set }setAlpha(value: number): Promise<void>Swift declarationvar alpha: CGFloat { get set }get anchorPoint(): Promise<{ x: number; y: number }>Swift declarationvar anchorPoint: CGPoint { get set }setAnchorPoint(value: { x: number; y: number }): Promise<void>Swift declarationvar anchorPoint: CGPoint { get set }get appliedContentSizeCategoryLimitsDescription(): Promise<string>Swift declarationvar appliedContentSizeCategoryLimitsDescription: String { get }get autoresizesSubviews(): Promise<boolean>Swift declarationvar autoresizesSubviews: Bool { get set }setAutoresizesSubviews(value: boolean): Promise<void>Swift declarationvar autoresizesSubviews: Bool { get set }get autoresizingMask(): Promise<UIView_AutoresizingMask>Swift declarationvar autoresizingMask: UIView.AutoresizingMask { get set }setAutoresizingMask(value: UIView_AutoresizingMask): Promise<void>Swift declarationvar autoresizingMask: UIView.AutoresizingMask { get set }get backgroundColor(): Promise<(UIColor) | null>Swift declaration@NSCopying var backgroundColor: UIColor? { get set }setBackgroundColor(value?: (UIColor) | null): Promise<void>Swift declaration@NSCopying var backgroundColor: UIColor? { get set }get bottomAnchor(): Promise<NSLayoutYAxisAnchor>Swift declarationvar bottomAnchor: NSLayoutYAxisAnchor { get }get bounds(): Promise<{ x: number; y: number; width: number; height: number }>Swift declarationvar bounds: CGRect { get set }setBounds(value: { x: number; y: number; width: number; height: number }): Promise<void>Swift declarationvar bounds: CGRect { get set }get canBecomeFocused(): Promise<boolean>Swift declarationvar canBecomeFocused: Bool { get }get center(): Promise<{ x: number; y: number }>Swift declarationvar center: CGPoint { get set }setCenter(value: { x: number; y: number }): Promise<void>Swift declarationvar center: CGPoint { get set }get centerXAnchor(): Promise<NSLayoutXAxisAnchor>Swift declarationvar centerXAnchor: NSLayoutXAxisAnchor { get }get centerYAnchor(): Promise<NSLayoutYAxisAnchor>Swift declarationvar centerYAnchor: NSLayoutYAxisAnchor { get }get clearsContextBeforeDrawing(): Promise<boolean>Swift declarationvar clearsContextBeforeDrawing: Bool { get set }setClearsContextBeforeDrawing(value: boolean): Promise<void>Swift declarationvar clearsContextBeforeDrawing: Bool { get set }get clipsToBounds(): Promise<boolean>Swift declarationvar clipsToBounds: Bool { get set }setClipsToBounds(value: boolean): Promise<void>Swift declarationvar clipsToBounds: Bool { get set }get constraints(): Promise<Array<NSLayoutConstraint>>Swift declarationvar constraints: [NSLayoutConstraint] { get }get contentMode(): Promise<UIView_ContentMode>Swift declarationvar contentMode: UIView.ContentMode { get set }setContentMode(value: UIView_ContentMode): Promise<void>Swift declarationvar contentMode: UIView.ContentMode { get set }get contentScaleFactor(): Promise<number>Swift declarationvar contentScaleFactor: CGFloat { get set }setContentScaleFactor(value: number): Promise<void>Swift declarationvar contentScaleFactor: CGFloat { get set }get directionalLayoutMargins(): Promise<{ top: number; leading: number; bottom: number; trailing: number }>Swift declarationvar directionalLayoutMargins: NSDirectionalEdgeInsets { get set }setDirectionalLayoutMargins(value: { top: number; leading: number; bottom: number; trailing: number }): Promise<void>Swift declarationvar directionalLayoutMargins: NSDirectionalEdgeInsets { get set }get effectiveUserInterfaceLayoutDirection(): Promise<UIUserInterfaceLayoutDirection>Swift declarationvar effectiveUserInterfaceLayoutDirection: UIUserInterfaceLayoutDirection { get }get isExclusiveTouch(): Promise<boolean>Swift declarationvar isExclusiveTouch: Bool { get set }setIsExclusiveTouch(value: boolean): Promise<void>Swift declarationvar isExclusiveTouch: Bool { get set }get firstBaselineAnchor(): Promise<NSLayoutYAxisAnchor>Swift declarationvar firstBaselineAnchor: NSLayoutYAxisAnchor { get }get focusEffect(): Promise<(UIFocusEffect) | null>Swift declaration@NSCopying var focusEffect: UIFocusEffect? { get set }setFocusEffect(value?: (UIFocusEffect) | null): Promise<void>Swift declaration@NSCopying var focusEffect: UIFocusEffect? { get set }get focusGroupIdentifier(): Promise<(string) | null>Swift declarationvar focusGroupIdentifier: String? { get set }setFocusGroupIdentifier(value?: (string) | null): Promise<void>Swift declarationvar focusGroupIdentifier: String? { get set }get focusGroupPriority(): Promise<UIFocusGroupPriority>Swift declarationvar focusGroupPriority: UIFocusGroupPriority { get set }setFocusGroupPriority(value: UIFocusGroupPriority): Promise<void>Swift declarationvar focusGroupPriority: UIFocusGroupPriority { get set }get isFocused(): Promise<boolean>Swift declarationvar isFocused: Bool { get }get frame(): Promise<{ x: number; y: number; width: number; height: number }>Swift declarationvar frame: CGRect { get set }setFrame(value: { x: number; y: number; width: number; height: number }): Promise<void>Swift declarationvar frame: CGRect { get set }get gestureRecognizers(): Promise<(Array<UIGestureRecognizer>) | null>Swift declarationvar gestureRecognizers: [UIGestureRecognizer]? { get set }setGestureRecognizers(value?: (Array<UIGestureRecognizer>) | null): Promise<void>Swift declarationvar gestureRecognizers: [UIGestureRecognizer]? { get set }get hasAmbiguousLayout(): Promise<boolean>Swift declarationvar hasAmbiguousLayout: Bool { get }get heightAnchor(): Promise<NSLayoutDimension>Swift declarationvar heightAnchor: NSLayoutDimension { get }get isHidden(): Promise<boolean>Swift declarationvar isHidden: Bool { get set }setIsHidden(value: boolean): Promise<void>Swift declarationvar isHidden: Bool { get set }get hoverStyle(): Promise<(UIHoverStyle) | null>Swift declaration@NSCopying var hoverStyle: UIHoverStyle? { get set }setHoverStyle(value?: (UIHoverStyle) | null): Promise<void>Swift declaration@NSCopying var hoverStyle: UIHoverStyle? { get set }get insetsLayoutMarginsFromSafeArea(): Promise<boolean>Swift declarationvar insetsLayoutMarginsFromSafeArea: Bool { get set }setInsetsLayoutMarginsFromSafeArea(value: boolean): Promise<void>Swift declarationvar insetsLayoutMarginsFromSafeArea: Bool { get set }get interactions(): Promise<Array<SDKHandle>>Swift declarationvar interactions: [any UIInteraction] { get set }setInteractions(value: Array<SDKHandle>): Promise<void>Swift declarationvar interactions: [any UIInteraction] { get set }get intrinsicContentSize(): Promise<{ width: number; height: number }>Swift declarationvar intrinsicContentSize: CGSize { get }get keyboardLayoutGuide(): Promise<UIKeyboardLayoutGuide>Swift declarationvar keyboardLayoutGuide: UIKeyboardLayoutGuide { get }get largeContentImage(): Promise<(UIImage) | null>Swift declarationvar largeContentImage: UIImage? { get set }setLargeContentImage(value?: (UIImage) | null): Promise<void>Swift declarationvar largeContentImage: UIImage? { get set }get largeContentImageInsets(): Promise<{ top: number; left: number; bottom: number; right: number }>Swift declarationvar largeContentImageInsets: UIEdgeInsets { get set }setLargeContentImageInsets(value: { top: number; left: number; bottom: number; right: number }): Promise<void>Swift declarationvar largeContentImageInsets: UIEdgeInsets { get set }get largeContentTitle(): Promise<(string) | null>Swift declarationvar largeContentTitle: String? { get set }setLargeContentTitle(value?: (string) | null): Promise<void>Swift declarationvar largeContentTitle: String? { get set }get lastBaselineAnchor(): Promise<NSLayoutYAxisAnchor>Swift declarationvar lastBaselineAnchor: NSLayoutYAxisAnchor { get }get layer(): Promise<_QuartzCore_CALayer>Swift declarationvar layer: CALayer { get }get layoutGuides(): Promise<Array<UILayoutGuide>>Swift declarationvar layoutGuides: [UILayoutGuide] { get }get layoutMargins(): Promise<{ top: number; left: number; bottom: number; right: number }>Swift declarationvar layoutMargins: UIEdgeInsets { get set }setLayoutMargins(value: { top: number; left: number; bottom: number; right: number }): Promise<void>Swift declarationvar layoutMargins: UIEdgeInsets { get set }get layoutMarginsGuide(): Promise<UILayoutGuide>Swift declarationvar layoutMarginsGuide: UILayoutGuide { get }get leadingAnchor(): Promise<NSLayoutXAxisAnchor>Swift declarationvar leadingAnchor: NSLayoutXAxisAnchor { get }get leftAnchor(): Promise<NSLayoutXAxisAnchor>Swift declarationvar leftAnchor: NSLayoutXAxisAnchor { get }get mask(): Promise<(UIView) | null>Swift declarationvar mask: UIView? { get set }setMask(value?: (UIView) | null): Promise<void>Swift declarationvar mask: UIView? { get set }get maximumContentSizeCategory(): Promise<(UIContentSizeCategory) | null>Swift declarationvar maximumContentSizeCategory: UIContentSizeCategory? { get set }setMaximumContentSizeCategory(value?: (UIContentSizeCategory) | null): Promise<void>Swift declarationvar maximumContentSizeCategory: UIContentSizeCategory? { get set }get minimumContentSizeCategory(): Promise<(UIContentSizeCategory) | null>Swift declarationvar minimumContentSizeCategory: UIContentSizeCategory? { get set }setMinimumContentSizeCategory(value?: (UIContentSizeCategory) | null): Promise<void>Swift declarationvar minimumContentSizeCategory: UIContentSizeCategory? { get set }get motionEffects(): Promise<Array<UIMotionEffect>>Swift declarationvar motionEffects: [UIMotionEffect] { get set }setMotionEffects(value: Array<UIMotionEffect>): Promise<void>Swift declarationvar motionEffects: [UIMotionEffect] { get set }get isMultipleTouchEnabled(): Promise<boolean>Swift declarationvar isMultipleTouchEnabled: Bool { get set }setIsMultipleTouchEnabled(value: boolean): Promise<void>Swift declarationvar isMultipleTouchEnabled: Bool { get set }get isOpaque(): Promise<boolean>Swift declarationvar isOpaque: Bool { get set }setIsOpaque(value: boolean): Promise<void>Swift declarationvar isOpaque: Bool { get set }get overrideUserInterfaceStyle(): Promise<UIUserInterfaceStyle>Swift declarationvar overrideUserInterfaceStyle: UIUserInterfaceStyle { get set }setOverrideUserInterfaceStyle(value: UIUserInterfaceStyle): Promise<void>Swift declarationvar overrideUserInterfaceStyle: UIUserInterfaceStyle { get set }get preservesSuperviewLayoutMargins(): Promise<boolean>Swift declarationvar preservesSuperviewLayoutMargins: Bool { get set }setPreservesSuperviewLayoutMargins(value: boolean): Promise<void>Swift declarationvar preservesSuperviewLayoutMargins: Bool { get set }get readableContentGuide(): Promise<UILayoutGuide>Swift declarationvar readableContentGuide: UILayoutGuide { get }get restorationIdentifier(): Promise<(string) | null>Swift declarationvar restorationIdentifier: String? { get set }setRestorationIdentifier(value?: (string) | null): Promise<void>Swift declarationvar restorationIdentifier: String? { get set }get rightAnchor(): Promise<NSLayoutXAxisAnchor>Swift declarationvar rightAnchor: NSLayoutXAxisAnchor { get }get safeAreaInsets(): Promise<{ top: number; left: number; bottom: number; right: number }>Swift declarationvar safeAreaInsets: UIEdgeInsets { get }get safeAreaLayoutGuide(): Promise<UILayoutGuide>Swift declarationvar safeAreaLayoutGuide: UILayoutGuide { get }get scalesLargeContentImage(): Promise<boolean>Swift declarationvar scalesLargeContentImage: Bool { get set }setScalesLargeContentImage(value: boolean): Promise<void>Swift declarationvar scalesLargeContentImage: Bool { get set }get semanticContentAttribute(): Promise<UISemanticContentAttribute>Swift declarationvar semanticContentAttribute: UISemanticContentAttribute { get set }setSemanticContentAttribute(value: UISemanticContentAttribute): Promise<void>Swift declarationvar semanticContentAttribute: UISemanticContentAttribute { get set }get showsLargeContentViewer(): Promise<boolean>Swift declarationvar showsLargeContentViewer: Bool { get set }setShowsLargeContentViewer(value: boolean): Promise<void>Swift declarationvar showsLargeContentViewer: Bool { get set }get subviews(): Promise<Array<UIView>>Swift declarationvar subviews: [UIView] { get }get superview(): Promise<(UIView) | null>Swift declarationvar superview: UIView? { get }get tag(): Promise<number>Swift declarationvar tag: Int { get set }setTag(value: number): Promise<void>Swift declarationvar tag: Int { get set }get tintAdjustmentMode(): Promise<UIView_TintAdjustmentMode>Swift declarationvar tintAdjustmentMode: UIView.TintAdjustmentMode { get set }setTintAdjustmentMode(value: UIView_TintAdjustmentMode): Promise<void>Swift declarationvar tintAdjustmentMode: UIView.TintAdjustmentMode { get set }get tintColor(): Promise<(UIColor) | null>Swift declarationvar tintColor: UIColor! { get set }setTintColor(value?: (UIColor) | null): Promise<void>Swift declarationvar tintColor: UIColor! { get set }get topAnchor(): Promise<NSLayoutYAxisAnchor>Swift declarationvar topAnchor: NSLayoutYAxisAnchor { get }get trailingAnchor(): Promise<NSLayoutXAxisAnchor>Swift declarationvar trailingAnchor: NSLayoutXAxisAnchor { get }get transform3D(): Promise<_QuartzCore_CATransform3D>Swift declarationvar transform3D: CATransform3D { get set }setTransform3D(value: _QuartzCore_CATransform3D): Promise<void>Swift declarationvar transform3D: CATransform3D { get set }get transform(): Promise<_CoreFoundation_CGAffineTransform>Swift declarationvar transform: CGAffineTransform { get set }setTransform(value: _CoreFoundation_CGAffineTransform): Promise<void>Swift declarationvar transform: CGAffineTransform { get set }get translatesAutoresizingMaskIntoConstraints(): Promise<boolean>Swift declarationvar translatesAutoresizingMaskIntoConstraints: Bool { get set }setTranslatesAutoresizingMaskIntoConstraints(value: boolean): Promise<void>Swift declarationvar translatesAutoresizingMaskIntoConstraints: Bool { get set }get isUserInteractionEnabled(): Promise<boolean>Swift declarationvar isUserInteractionEnabled: Bool { get set }setIsUserInteractionEnabled(value: boolean): Promise<void>Swift declarationvar isUserInteractionEnabled: Bool { get set }get forFirstBaselineLayout(): Promise<UIView>Swift declarationvar forFirstBaselineLayout: UIView { get }get forLastBaselineLayout(): Promise<UIView>Swift declarationvar forLastBaselineLayout: UIView { get }get widthAnchor(): Promise<NSLayoutDimension>Swift declarationvar widthAnchor: NSLayoutDimension { get }get window(): Promise<(UIWindow) | null>Swift declarationvar window: UIWindow? { get }edgeInsets(region: UIView_LayoutRegion): Promise<{ top: number; left: number; bottom: number; right: number }>Swift declaration@MainActor @preconcurrency func edgeInsets(for region: UIView.LayoutRegion) -> UIEdgeInsetslayoutGuide(region: UIView_LayoutRegion): Promise<UILayoutGuide>Swift declaration@MainActor @preconcurrency func layoutGuide(for region: UIView.LayoutRegion) -> UILayoutGuideget traitOverrides(): Promise<UITraitOverrides>Swift declaration@MainActor @preconcurrency var traitOverrides: UITraitOverrides { get set }setTraitOverrides(value: UITraitOverrides): Promise<void>Swift declaration@MainActor @preconcurrency var traitOverrides: UITraitOverrides { get set }reservedRegions(kind: UIView_ReservedRegion_Kind, options?: UIView_ReservedRegion_QueryOptions): Promise<Array<UIView_ReservedRegion>>Swift declaration@MainActor @preconcurrency func reservedRegions(kind: UIView.ReservedRegion.Kind, options: UIView.ReservedRegion.QueryOptions = []) -> [UIView.ReservedRegion]get cornerConfiguration(): Promise<UICornerConfiguration>Swift declaration@MainActor @preconcurrency var cornerConfiguration: UICornerConfiguration { get set }setCornerConfiguration(value: UICornerConfiguration): Promise<void>Swift declaration@MainActor @preconcurrency var cornerConfiguration: UICornerConfiguration { get set }directionalEdgeInsets(region: UIView_LayoutRegion): Promise<{ top: number; leading: number; bottom: number; trailing: number }>Swift declaration@MainActor @preconcurrency func directionalEdgeInsets(for region: UIView.LayoutRegion) -> NSDirectionalEdgeInsetsunregisterForTraitChanges(registration: SDKHandle): Promise<void>Swift declaration@MainActor func unregisterForTraitChanges(_ registration: any UITraitChangeRegistration)static animateSpringDurationBounceInitialSpringVelocityDelayOptionsAnimationsCompletion(duration: number, bounce: number, initialSpringVelocity: number, delay: number, options: UIView_AnimationOptions, animations: (() => void), completion?: (((arg0: boolean) => void)) | null): Promise<void>Swift declaration@MainActor @preconcurrency class func animate(springDuration duration: TimeInterval = 0.5, bounce: CGFloat = 0.0, initialSpringVelocity: CGFloat = 0.0, delay: TimeInterval = 0.0, options: UIView.AnimationOptions = [], animations: () -> Void, completion: ((Bool) -> Void)? = nil)5 declarations were excluded from these bindings. Each reason comes from the generator or the iOS SDK compiler.
UIView.registerForTraitChanges(_:handler:)
Passing a Swift type itself is not supported.
UIView.registerForTraitChanges(_:target:action:)
Passing a Swift type itself is not supported.
UIView.registerForTraitChanges(_:action:)
Passing a Swift type itself is not supported.
UIView.setAnimationWillStart(_:)
Objective-C selectors cannot cross the bridge.
UIView.setAnimationDidStop(_:)
Objective-C selectors cannot cross the bridge.