dismiss
TypeScriptdismiss(animated: boolean): Promise<void>Swift declarationfunc dismiss(animated: Bool)class · iOS 3.2+ · Deprecated in iOS 9.0 · SDK 27.1
@MainActor class UIPopoverControllerdismiss(animated: boolean): Promise<void>Swift declarationfunc dismiss(animated: Bool)static init(viewController: UIViewController): Promise<UIPopoverController>Swift declarationinit(contentViewController viewController: UIViewController)presentFromPermittedArrowDirectionsAnimated(item: UIBarButtonItem, arrowDirections: UIPopoverArrowDirection, animated: boolean): Promise<void>Swift declarationfunc present(from item: UIBarButtonItem, permittedArrowDirections arrowDirections: UIPopoverArrowDirection, animated: Bool)presentFromInPermittedArrowDirectionsAnimated(rect: { x: number; y: number; width: number; height: number }, view: UIView, arrowDirections: UIPopoverArrowDirection, animated: boolean): Promise<void>Swift declarationfunc present(from rect: CGRect, in view: UIView, permittedArrowDirections arrowDirections: UIPopoverArrowDirection, animated: Bool)setContentView(viewController: UIViewController, animated: boolean): Promise<void>Swift declarationfunc setContentView(_ viewController: UIViewController, animated: Bool)setContentSize(size: { width: number; height: number }, animated: boolean): Promise<void>Swift declarationfunc setContentSize(_ size: CGSize, animated: Bool)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 contentViewController(): Promise<UIViewController>Swift declarationvar contentViewController: UIViewController { get set }setContentViewController(value: UIViewController): Promise<void>Swift declarationvar contentViewController: UIViewController { get set }get delegate(): Promise<(SDKHandle) | null>Swift declarationweak var delegate: (any UIPopoverControllerDelegate)? { get set }setDelegate(value?: (Implements<UIPopoverControllerDelegate> | SDKHandle) | null): Promise<void>Swift declarationweak var delegate: (any UIPopoverControllerDelegate)? { get set }get passthroughViews(): Promise<(Array<UIView>) | null>Swift declarationvar passthroughViews: [UIView]? { get set }setPassthroughViews(value?: (Array<UIView>) | null): Promise<void>Swift declarationvar passthroughViews: [UIView]? { get set }get arrowDirection(): Promise<UIPopoverArrowDirection>Swift declarationvar arrowDirection: UIPopoverArrowDirection { get }get backgroundViewClass(): Promise<(string) | null>Swift declarationvar backgroundViewClass: AnyClass? { get set }setBackgroundViewClass(value?: (string) | null): Promise<void>Swift declarationvar backgroundViewClass: AnyClass? { get set }get contentSize(): Promise<{ width: number; height: number }>Swift declarationvar contentSize: CGSize { get set }setContentSize70875(value: { width: number; height: number }): Promise<void>Swift declarationvar contentSize: CGSize { get set }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 isPopoverVisible(): Promise<boolean>Swift declarationvar isPopoverVisible: Bool { get }1 declarations were excluded from these bindings. Each reason comes from the generator or the iOS SDK compiler.
UIPopoverController.init()
inherited init: cannot prove legal (class declares 1 custom initializer)