语言

UIPopoverPresentationController 类

定义

管理弹出窗口的用户体验。

[Foundation.Register("UIPopoverPresentationController", true)]
public class UIPopoverPresentationController : UIKit.UIPresentationController
[<Foundation.Register("UIPopoverPresentationController", true)>]
type UIPopoverPresentationController = class
    inherit UIPresentationController
继承
UIPopoverPresentationController
特性

构造函数

名称 说明
UIPopoverPresentationController(NativeHandle)

创建非托管对象的托管表示形式时使用的构造函数。 由运行时调用。

UIPopoverPresentationController(NSObjectFlag)

要调用派生类的构造函数,以跳过初始化,并仅分配对象。

UIPopoverPresentationController(UIViewController, UIViewController)

管理弹出窗口的用户体验。

属性

名称 说明
AccessibilityAttributedUserInputLabels

管理弹出窗口的用户体验。

(继承自 NSObject)
AccessibilityRespondsToUserInteraction

管理弹出窗口的用户体验。

(继承自 NSObject)
AccessibilityTextualContext

管理弹出窗口的用户体验。

(继承自 NSObject)
AccessibilityUserInputLabels

管理弹出窗口的用户体验。

(继承自 NSObject)
AdaptiveSheetPresentationController

管理弹出窗口的用户体验。

ArrowDirection

管理弹出窗口的用户体验。

BackgroundColor

管理弹出窗口的用户体验。

BackgroundEffect

管理弹出窗口的用户体验。

(继承自 UIPresentationController)
BarButtonItem

管理弹出窗口的用户体验。

CanOverlapSourceViewRect

管理弹出窗口的用户体验。

Class

管理弹出窗口的用户体验。

(继承自 NSObject)
ClassHandle

此类的 Objective-C 类句柄。

ContainerView

管理弹出窗口的用户体验。

(继承自 UIPresentationController)
DebugDescription

管理弹出窗口的用户体验。

(继承自 NSObject)
Delegate

充当类委托的 UIKit.IUIPopoverPresentationControllerDelegate 模型类的实例。

Description

管理弹出窗口的用户体验。

(继承自 NSObject)
FocusGroupIdentifier

管理弹出窗口的用户体验。

(继承自 UIPresentationController)
FocusItemContainer

获取用于管理子焦点项的焦点信息的容器。

(继承自 UIPresentationController)
FrameOfPresentedViewInContainerView

管理弹出窗口的用户体验。

(继承自 UIPresentationController)
Handle

处理(指针)到非托管对象表示形式。

(继承自 NSObject)
IsDirectBinding

获取或设置一个值,该值指示此实例是否使用直接 Objective-C 绑定。

(继承自 NSObject)
IsProxy

管理弹出窗口的用户体验。

(继承自 NSObject)
OverrideTraitCollection

管理弹出窗口的用户体验。

(继承自 UIPresentationController)
ParentFocusEnvironment

获取父焦点环境。

(继承自 UIPresentationController)
PassthroughViews

管理弹出窗口的用户体验。

PermittedArrowDirections

管理弹出窗口的用户体验。

PopoverBackgroundViewType

获取或设置用于显示弹出窗口背景内容的类型。

PopoverLayoutMargins

管理弹出窗口的用户体验。

PreferredContentSize

获取容器内容的首选大小。

(继承自 UIPresentationController)
PreferredFocusedView

如果不是 null,则表示应默认接收焦点的子级 UIView 。

(继承自 UIPresentationController)
PreferredFocusEnvironments

获取按优先级排序的焦点环境列表,环境在更新焦点时首选。

(继承自 UIPresentationController)
PresentationStyle

管理弹出窗口的用户体验。

(继承自 UIPresentationController)
PresentedView

管理弹出窗口的用户体验。

(继承自 UIPresentationController)
PresentedViewController

管理弹出窗口的用户体验。

(继承自 UIPresentationController)
PresentingViewController

管理弹出窗口的用户体验。

(继承自 UIPresentationController)
RetainCount

管理弹出窗口的用户体验。

(继承自 NSObject)
Self

管理弹出窗口的用户体验。

(继承自 NSObject)
ShouldDismissPopover

由对象调用的委托以获取值。

ShouldPresentInFullscreen

管理弹出窗口的用户体验。

(继承自 UIPresentationController)
ShouldRemovePresentersView

管理弹出窗口的用户体验。

(继承自 UIPresentationController)
SourceItem

管理弹出窗口的用户体验。

SourceRect

管理弹出窗口的用户体验。

SourceView

管理弹出窗口的用户体验。

Superclass

管理弹出窗口的用户体验。

(继承自 NSObject)
SuperHandle
已过时.

用于表示此 NSObject基类中方法的句柄。

(继承自 NSObject)
TraitCollection

获取描述环境的特征集合。

(继承自 UIPresentationController)
TraitOverrides

管理弹出窗口的用户体验。

(继承自 UIPresentationController)
WeakDelegate

管理弹出窗口的用户体验。

Zone

管理弹出窗口的用户体验。

(继承自 NSObject)

方法

名称 说明
AdaptivePresentationStyle()

管理弹出窗口的用户体验。

(继承自 UIPresentationController)
AdaptivePresentationStyle(UITraitCollection)

管理弹出窗口的用户体验。

(继承自 UIPresentationController)
AddObserver(NSObject, NSString, NSKeyValueObservingOptions, IntPtr)

管理弹出窗口的用户体验。

(继承自 NSObject)
AddObserver(NSObject, String, NSKeyValueObservingOptions, IntPtr)

管理弹出窗口的用户体验。

(继承自 NSObject)
AddObserver(NSString, NSKeyValueObservingOptions, Action<NSObservedChange>)

注册对象以使用任意方法在外部观察。

(继承自 NSObject)
AddObserver(String, NSKeyValueObservingOptions, Action<NSObservedChange>)

注册对象以使用任意方法在外部观察。

(继承自 NSObject)
AwakeFromNib()

管理弹出窗口的用户体验。

(继承自 NSObject)
BeginInvokeOnMainThread(Action)

在主 UI 线程上异步调用指定的操作。

(继承自 NSObject)
BeginInvokeOnMainThread(Selector, NSObject)

在主 UI 线程上异步调用指定的代码。

(继承自 NSObject)
ConformsToProtocol(NativeHandle)

管理弹出窗口的用户体验。

(继承自 NSObject)
ContainerViewDidLayoutSubviews()

管理弹出窗口的用户体验。

(继承自 UIPresentationController)
ContainerViewWillLayoutSubviews()

管理弹出窗口的用户体验。

(继承自 UIPresentationController)
Copy()

管理弹出窗口的用户体验。

(继承自 NSObject)
DangerousAutorelease()

对此对象调用“autorelease”选择器。

(继承自 NSObject)
DangerousRelease()

对此对象调用“release”选择器。

(继承自 NSObject)
DangerousRetain()

对此对象调用“保留”选择器。

(继承自 NSObject)
DidChange(NSKeyValueChange, NSIndexSet, NSString)

管理弹出窗口的用户体验。

(继承自 NSObject)
DidChange(NSString, NSKeyValueSetMutationKind, NSSet)

管理弹出窗口的用户体验。

(继承自 NSObject)
DidChangeValue(String)

管理弹出窗口的用户体验。

(继承自 NSObject)
DidUpdateFocus(UIFocusUpdateContext, UIFocusAnimationCoordinator)

焦点更改为新的 UIView委托方法后不久调用。

(继承自 UIPresentationController)
DismissalTransitionDidEnd(Boolean)

管理弹出窗口的用户体验。

(继承自 UIPresentationController)
DismissalTransitionWillBegin()

管理弹出窗口的用户体验。

(继承自 UIPresentationController)
Dispose()

释放对象使用 NSObject 的资源。

(继承自 NSObject)
Dispose(Boolean)

释放此对象使用的资源。

DoesNotRecognizeSelector(Selector)

管理弹出窗口的用户体验。

(继承自 NSObject)
Equals(NSObject)

确定指定的 NSObject 值是否等于当前 NSObject。

(继承自 NSObject)
Equals(Object)

确定指定的对象是否等于当前 NSObject对象。

(继承自 NSObject)
GetDictionaryOfValuesFromKeys(NSString[])

管理弹出窗口的用户体验。

(继承自 NSObject)
GetHashCode()

为当前实例生成哈希代码。

(继承自 NSObject)
GetMethodForSelector(Selector)

管理弹出窗口的用户体验。

(继承自 NSObject)
GetNativeHash()

管理弹出窗口的用户体验。

(继承自 NSObject)
GetSizeForChildContentContainer(IUIContentContainer, CGSize)

使用父容器的大小获取指定子级 IUIContentContainer 的内容的大小。

(继承自 UIPresentationController)
Init()

通过调用 Objective-C init 方法初始化对象。

(继承自 NSObject)
InitializeHandle(NativeHandle, String, Boolean)

Handle使用本机初始值设定项的结果初始化属性。

(继承自 NSObject)
InitializeHandle(NativeHandle, String)

管理弹出窗口的用户体验。

(继承自 NSObject)
InitializeHandle(NativeHandle)

管理弹出窗口的用户体验。

(继承自 NSObject)
Invoke(Action, Double)

在指定的延迟后调用指定的操作。

(继承自 NSObject)
Invoke(Action, TimeSpan)

在指定的延迟后调用指定的操作。

(继承自 NSObject)
InvokeOnMainThread(Action)

在主 UI 线程上同步调用指定的操作。

(继承自 NSObject)
InvokeOnMainThread(Selector, NSObject)

在主 UI 线程上同步调用指定的代码。

(继承自 NSObject)
IsEqual(NSObject)

管理弹出窗口的用户体验。

(继承自 NSObject)
IsKindOfClass(Class)

管理弹出窗口的用户体验。

(继承自 NSObject)
IsMemberOfClass(Class)

管理弹出窗口的用户体验。

(继承自 NSObject)
MarkDirty()

将常规对等对象(IsDirectBinding 为 true)提升为 toggleref 对象。

(继承自 NSObject)
MutableCopy()

管理弹出窗口的用户体验。

(继承自 NSObject)
ObserveValue(NSString, NSObject, NSDictionary, IntPtr)

管理弹出窗口的用户体验。

(继承自 NSObject)
PerformSelector(Selector, NSObject, Double, NSString[])

管理弹出窗口的用户体验。

(继承自 NSObject)
PerformSelector(Selector, NSObject, Double)

管理弹出窗口的用户体验。

(继承自 NSObject)
PerformSelector(Selector, NSObject, NSObject)

管理弹出窗口的用户体验。

(继承自 NSObject)
PerformSelector(Selector, NSObject)

管理弹出窗口的用户体验。

(继承自 NSObject)
PerformSelector(Selector, NSThread, NSObject, Boolean, NSString[])

管理弹出窗口的用户体验。

(继承自 NSObject)
PerformSelector(Selector, NSThread, NSObject, Boolean)

管理弹出窗口的用户体验。

(继承自 NSObject)
PerformSelector(Selector)

管理弹出窗口的用户体验。

(继承自 NSObject)
PreferredContentSizeDidChangeForChildContentContainer(IUIContentContainer)

通知此控制器指定子容器的内容的首选大小已更改。

(继承自 UIPresentationController)
PrepareForInterfaceBuilder()

管理弹出窗口的用户体验。

(继承自 NSObject)
PresentationTransitionDidEnd(Boolean)

管理弹出窗口的用户体验。

(继承自 UIPresentationController)
PresentationTransitionWillBegin()

管理弹出窗口的用户体验。

(继承自 UIPresentationController)
RegisterForTraitChanges(Action<IUITraitEnvironment,UITraitCollection>, Type[])

注册一个回调处理程序,该处理程序将在指定特征之一发生更改时执行。

(继承自 UIPresentationController)
RegisterForTraitChanges(Class[], Action<IUITraitEnvironment,UITraitCollection>)

管理弹出窗口的用户体验。

(继承自 UIPresentationController)
RegisterForTraitChanges(Class[], NSObject, Selector)

管理弹出窗口的用户体验。

(继承自 UIPresentationController)
RegisterForTraitChanges(Class[], Selector)

管理弹出窗口的用户体验。

(继承自 UIPresentationController)
RegisterForTraitChanges(IUITraitDefinition[], Action<IUITraitEnvironment,UITraitCollection>)
已过时.

管理弹出窗口的用户体验。

(继承自 UIPresentationController)
RegisterForTraitChanges(IUITraitDefinition[], NSObject, Selector)
已过时.

管理弹出窗口的用户体验。

(继承自 UIPresentationController)
RegisterForTraitChanges(IUITraitDefinition[], Selector)
已过时.

管理弹出窗口的用户体验。

(继承自 UIPresentationController)
RegisterForTraitChanges(Type[], Action<IUITraitEnvironment,UITraitCollection>)

注册一个回调处理程序,该处理程序将在指定特征之一发生更改时执行。

(继承自 UIPresentationController)
RegisterForTraitChanges(Type[], NSObject, Selector)

注册一个选择器,当任何指定的特征发生更改时,将在指定对象上调用该选择器。

(继承自 UIPresentationController)
RegisterForTraitChanges(Type[], Selector)

注册一个选择器,当任何指定的特征发生更改时,将在当前对象上调用该选择器。

(继承自 UIPresentationController)
RegisterForTraitChanges<T>(Action<IUITraitEnvironment,UITraitCollection>)

注册将在指定特征发生更改时执行的回调处理程序。

(继承自 UIPresentationController)
RegisterForTraitChanges<T1,T2,T3,T4>(Action<IUITraitEnvironment,UITraitCollection>)

注册将在任何指定特征发生更改时执行的回调处理程序。

(继承自 UIPresentationController)
RegisterForTraitChanges<T1,T2,T3>(Action<IUITraitEnvironment,UITraitCollection>)

注册将在任何指定特征发生更改时执行的回调处理程序。

(继承自 UIPresentationController)
RegisterForTraitChanges<T1,T2>(Action<IUITraitEnvironment,UITraitCollection>)

注册将在任何指定特征发生更改时执行的回调处理程序。

(继承自 UIPresentationController)
RemoveObserver(NSObject, NSString, IntPtr)

管理弹出窗口的用户体验。

(继承自 NSObject)
RemoveObserver(NSObject, NSString)

管理弹出窗口的用户体验。

(继承自 NSObject)
RemoveObserver(NSObject, String, IntPtr)

管理弹出窗口的用户体验。

(继承自 NSObject)
RemoveObserver(NSObject, String)

管理弹出窗口的用户体验。

(继承自 NSObject)
RespondsToSelector(Selector)

管理弹出窗口的用户体验。

(继承自 NSObject)
SetNeedsFocusUpdate()

当活动焦点环境为活动焦点环境时 this ,请求焦点更新,这可能会更改焦点 PreferredFocusedView。 (另 UpdateFocusIfNeeded()请参阅。)

(继承自 UIPresentationController)
SetNilValueForKey(NSString)

管理弹出窗口的用户体验。

(继承自 NSObject)
SetValueForKey(NSObject, NSString)

管理弹出窗口的用户体验。

(继承自 NSObject)
SetValueForKeyPath(NativeHandle, NSString)

将给定键路径标识的属性的值设置为给定值。

(继承自 NSObject)
SetValueForKeyPath(NSObject, NSString)

管理弹出窗口的用户体验。

(继承自 NSObject)
SetValueForUndefinedKey(NSObject, NSString)

管理弹出窗口的用户体验。

(继承自 NSObject)
SetValuesForKeysWithDictionary(NSDictionary)

管理弹出窗口的用户体验。

(继承自 NSObject)
ShouldUpdateFocus(UIFocusUpdateContext)

在当前对象丢失或接收焦点之前调用。 如果任一焦点环境返回 false,则取消焦点更新。

(继承自 UIPresentationController)
SystemLayoutFittingSizeDidChangeForChildContentContainer(IUIContentContainer)

通知此容器自动布局调整指定子容器的大小。

(继承自 UIPresentationController)
ToString()

返回当前实例值的字符串表示形式。

(继承自 NSObject)
TraitCollectionDidChange(UITraitCollection)

描述环境的特征集合已更改。

(继承自 UIPresentationController)
UnregisterForTraitChanges(IUITraitChangeRegistration)

管理弹出窗口的用户体验。

(继承自 UIPresentationController)
UpdateFocusIfNeeded()

如果任何焦点环境有挂起的更新,此方法将强制立即进行焦点更新。 与此方法不同 SetNeedsFocusUpdate(),此方法可能由任何 IUIFocusEnvironment方法调用,无论它当前是否包含焦点。

(继承自 UIPresentationController)
ValueForKey(NSString)

管理弹出窗口的用户体验。

(继承自 NSObject)
ValueForKeyPath(NSString)

管理弹出窗口的用户体验。

(继承自 NSObject)
ValueForUndefinedKey(NSString)

管理弹出窗口的用户体验。

(继承自 NSObject)
ViewWillTransitionToSize(CGSize, IUIViewControllerTransitionCoordinator)

管理弹出窗口的用户体验。

(继承自 UIPresentationController)
WillChange(NSKeyValueChange, NSIndexSet, NSString)

管理弹出窗口的用户体验。

(继承自 NSObject)
WillChange(NSString, NSKeyValueSetMutationKind, NSSet)

管理弹出窗口的用户体验。

(继承自 NSObject)
WillChangeValue(String)

管理弹出窗口的用户体验。

(继承自 NSObject)
WillTransitionToTraitCollection(UITraitCollection, IUIViewControllerTransitionCoordinator)

通知this其特征集合将按照协调traitCollection方式更改为coordinator。

(继承自 UIPresentationController)

事件

名称 说明
DidDismiss

在已消除呈现的视图控制器后引发的事件。

PrepareForPresentation

在演示之前引发的事件。

WillReposition

重新定位弹出窗口之前不久引发的事件。

扩展方法

名称 说明
AccessibilityHitTest(NSObject, CGPoint, UIEvent)

管理弹出窗口的用户体验。

BrowserAccessibilityDeleteTextAtCursor(NSObject, IntPtr)

管理弹出窗口的用户体验。

BrowserAccessibilityInsertTextAtCursor(NSObject, String)

管理弹出窗口的用户体验。

GetAccessibilityCustomRotors(NSObject)

获取适合UIAccessibilityCustomRotor对象的对象的数组this。

GetAccessibilityLineEndPositionFromCurrentSelection(NSObject)

管理弹出窗口的用户体验。

GetAccessibilityLineRangeForPosition(NSObject, IntPtr)

管理弹出窗口的用户体验。

GetAccessibilityLineStartPositionFromCurrentSelection(NSObject)

管理弹出窗口的用户体验。

GetAccessibilityNextTextNavigationElement(NSObject)

管理弹出窗口的用户体验。

GetAccessibilityNextTextNavigationElementBlock(NSObject)

管理弹出窗口的用户体验。

GetAccessibilityPreviousTextNavigationElement(NSObject)

管理弹出窗口的用户体验。

GetAccessibilityPreviousTextNavigationElementBlock(NSObject)

管理弹出窗口的用户体验。

GetAccessibilityTextInputResponder(NSObject)

管理弹出窗口的用户体验。

GetAccessibilityTextInputResponderHandler(NSObject)

管理弹出窗口的用户体验。

GetBrowserAccessibilityAttributedValue(NSObject, NSRange)

管理弹出窗口的用户体验。

GetBrowserAccessibilityContainerType(NSObject)

管理弹出窗口的用户体验。

GetBrowserAccessibilityCurrentStatus(NSObject)

管理弹出窗口的用户体验。

GetBrowserAccessibilityDetailsElements(NSObject)

管理弹出窗口的用户体验。

GetBrowserAccessibilityHasDomFocus(NSObject)

管理弹出窗口的用户体验。

GetBrowserAccessibilityImageData(NSObject, NSDictionary)

管理弹出窗口的用户体验。

GetBrowserAccessibilityImageDataSize(NSObject)

管理弹出窗口的用户体验。

GetBrowserAccessibilityIsRequired(NSObject)

管理弹出窗口的用户体验。

GetBrowserAccessibilityKeyboardShortcuts(NSObject)

管理弹出窗口的用户体验。

GetBrowserAccessibilityOrientation(NSObject)

管理弹出窗口的用户体验。

GetBrowserAccessibilityPressedState(NSObject)

管理弹出窗口的用户体验。

GetBrowserAccessibilityRoleDescription(NSObject)

管理弹出窗口的用户体验。

GetBrowserAccessibilitySelectedTextRange(NSObject)

管理弹出窗口的用户体验。

GetBrowserAccessibilitySortDirection(NSObject)

管理弹出窗口的用户体验。

GetBrowserAccessibilityValue(NSObject, NSRange)

管理弹出窗口的用户体验。

GetDebugDescription(INSObjectProtocol)

管理弹出窗口的用户体验。

GetFocusGroupIdentifier(IUIFocusEnvironment)

管理弹出窗口的用户体验。

GetHandle(INativeObject)

管理弹出窗口的用户体验。

GetNonNullHandle(INativeObject, String)

管理弹出窗口的用户体验。

GetPreferredFocusedView(IUIFocusEnvironment)

如果不是 null,则表示应默认接收焦点的子级 UIView 。

ProvideImageData(NSObject, IntPtr, UIntPtr, UIntPtr, UIntPtr, UIntPtr, UIntPtr, NSObject)

管理弹出窗口的用户体验。

ProvideImageToMTLTexture(NSObject, IMTLTexture, IMTLCommandBuffer, UIntPtr, UIntPtr, UIntPtr, UIntPtr, NSObject)

管理弹出窗口的用户体验。

RegisterForTraitChanges(IUITraitChangeObservable, Class[], Action<IUITraitEnvironment,UITraitCollection>)

管理弹出窗口的用户体验。

RegisterForTraitChanges(IUITraitChangeObservable, Class[], NSObject, Selector)

管理弹出窗口的用户体验。

RegisterForTraitChanges(IUITraitChangeObservable, Class[], Selector)

管理弹出窗口的用户体验。

RegisterForTraitChanges(IUITraitChangeObservable, IUITraitDefinition[], Action<IUITraitEnvironment,UITraitCollection>)
已过时.

管理弹出窗口的用户体验。

RegisterForTraitChanges(IUITraitChangeObservable, IUITraitDefinition[], NSObject, Selector)
已过时.

管理弹出窗口的用户体验。

RegisterForTraitChanges(IUITraitChangeObservable, IUITraitDefinition[], Selector)
已过时.

管理弹出窗口的用户体验。

SetAccessibilityCustomRotors(NSObject, UIAccessibilityCustomRotor[])

设置适合UIAccessibilityCustomRotor对象的对象的数组this。

SetAccessibilityNextTextNavigationElement(NSObject, NSObject)

管理弹出窗口的用户体验。

SetAccessibilityNextTextNavigationElementBlock(NSObject, AXObjectReturnBlock)

管理弹出窗口的用户体验。

SetAccessibilityPreviousTextNavigationElement(NSObject, NSObject)

管理弹出窗口的用户体验。

SetAccessibilityPreviousTextNavigationElementBlock(NSObject, AXObjectReturnBlock)

管理弹出窗口的用户体验。

SetAccessibilityTextInputResponder(NSObject, IUITextInput)

管理弹出窗口的用户体验。

SetAccessibilityTextInputResponderHandler(NSObject, UITextInputReturnHandler)

管理弹出窗口的用户体验。

SetBrowserAccessibilityContainerType(NSObject, BEAccessibilityContainerType)

管理弹出窗口的用户体验。

SetBrowserAccessibilityCurrentStatus(NSObject, String)

管理弹出窗口的用户体验。

SetBrowserAccessibilityDetailsElements(NSObject, NSObject[])

管理弹出窗口的用户体验。

SetBrowserAccessibilityHasDomFocus(NSObject, Boolean)

管理弹出窗口的用户体验。

SetBrowserAccessibilityIsRequired(NSObject, Boolean)

管理弹出窗口的用户体验。

SetBrowserAccessibilityKeyboardShortcuts(NSObject, String)

管理弹出窗口的用户体验。

SetBrowserAccessibilityOrientation(NSObject, BEAccessibilityOrientation)

管理弹出窗口的用户体验。

SetBrowserAccessibilityPressedState(NSObject, BEAccessibilityPressedState)

管理弹出窗口的用户体验。

SetBrowserAccessibilityRoleDescription(NSObject, String)

管理弹出窗口的用户体验。

SetBrowserAccessibilitySelectedTextRange(NSObject, NSRange)

管理弹出窗口的用户体验。

SetBrowserAccessibilitySortDirection(NSObject, String)

管理弹出窗口的用户体验。

SetSharedObservers(NSObject, NSKeyValueSharedObserversSnapshot)

管理弹出窗口的用户体验。

适用于

另请参阅