init
TypeScriptstatic initCoder(coder: _Foundation_NSCoder): Promise<(TipUIPopoverViewController) | null>Swift declaration@MainActor @preconcurrency required dynamic init?(coder: NSCoder)class · iOS 17.0+ · SDK 27.1
@MainActor @objc @preconcurrency final class TipUIPopoverViewControllerA view controller that displays a popover tip.
static initCoder(coder: _Foundation_NSCoder): Promise<(TipUIPopoverViewController) | null>Swift declaration@MainActor @preconcurrency required dynamic init?(coder: NSCoder)static initNibNameBundle(nibNameOrNil?: (string) | null, nibBundleOrNil?: (_Foundation_Bundle) | null): Promise<TipUIPopoverViewController>Swift declaration@MainActor @preconcurrency override dynamic init(nibName nibNameOrNil: String?, bundle nibBundleOrNil: Bundle?)get imageStyle(): Promise<(SDKHandle) | null>Swift declaration@MainActor @preconcurrency final var imageStyle: (any ShapeStyle)? { get set }Foreground style for the tip's image.
setImageStyle(value?: (SDKHandle) | null): Promise<void>Swift declaration@MainActor @preconcurrency final var imageStyle: (any ShapeStyle)? { get set }Foreground style for the tip's image.
get sourceItem(): Promise<(SDKHandle) | null>Swift declaration@MainActor @preconcurrency final var sourceItem: (any UIPopoverPresentationControllerSourceItem)? { get set }The item on which to anchor the tip popover.
setSourceItem(value?: (Implements<_UIKit_UIPopoverPresentationControllerSourceItem> | SDKHandle) | null): Promise<void>Swift declaration@MainActor @preconcurrency final var sourceItem: (any UIPopoverPresentationControllerSourceItem)? { get set }The item on which to anchor the tip popover.
get backgroundColor(): Promise<(_UIKit_UIColor) | null>Swift declaration@MainActor @preconcurrency final var backgroundColor: UIColor? { get set }The background color to use for the tip view.
setBackgroundColor(value?: (_UIKit_UIColor) | null): Promise<void>Swift declaration@MainActor @preconcurrency final var backgroundColor: UIColor? { get set }The background color to use for the tip view.
get backgroundStyle(): Promise<SDKHandle>Swift declaration@MainActor @preconcurrency final var backgroundStyle: any ShapeStyle { get set }The background style to use for the tip view.
setBackgroundStyle(value: SDKHandle): Promise<void>Swift declaration@MainActor @preconcurrency final var backgroundStyle: any ShapeStyle { get set }The background style to use for the tip view.
get presentationDelegate(): Promise<(SDKHandle) | null>Swift declaration@MainActor @preconcurrency final var presentationDelegate: (any UIPopoverPresentationControllerDelegate)? { get set }The popover presentation delegate, which lets you customize the behavior of a popover-based presentation.
setPresentationDelegate(value?: (Implements<_UIKit_UIPopoverPresentationControllerDelegate> | SDKHandle) | null): Promise<void>Swift declaration@MainActor @preconcurrency final var presentationDelegate: (any UIPopoverPresentationControllerDelegate)? { get set }The popover presentation delegate, which lets you customize the behavior of a popover-based presentation.
get imageSize(): Promise<{ width: number; height: number }>Swift declaration@MainActor @preconcurrency final var imageSize: CGSize { get set }Size of the image displayed in the tip view.
setImageSize(value: { width: number; height: number }): Promise<void>Swift declaration@MainActor @preconcurrency final var imageSize: CGSize { get set }Size of the image displayed in the tip view.
get viewStyle(): Promise<SDKHandle>Swift declaration@MainActor @preconcurrency final var viewStyle: any TipViewStyle { get set }The given style for TipView within the view hierarchy.
setViewStyle(value: SDKHandle): Promise<void>Swift declaration@MainActor @preconcurrency final var viewStyle: any TipViewStyle { get set }The given style for TipView within the view hierarchy.
static initSourceItemActionHandler(tip: SDKHandle, sourceItem: Implements<_UIKit_UIPopoverPresentationControllerSourceItem> | SDKHandle, actionHandler?: ((arg0: Tips_Action) => void)): Promise<TipUIPopoverViewController>Swift declaration@MainActor @preconcurrency convenience init(_ tip: any Tip, sourceItem: any UIPopoverPresentationControllerSourceItem, actionHandler: @escaping @MainActor @Sendable (Tips.Action) -> Void = { _ in })Initializes a popover controller with the specified tip. - Parameters: - tip: The tip to display. - sourceItem: The item on which to anchor the tip popover. - actionHandler: The closure to perform when the user triggers a tip's action.
No declarations were skipped in this snapshot.