GKFriendRequestComposeViewController 类

定义

UINavigationController 显示用于发送好友请求的屏幕。

[Foundation.Register("GKFriendRequestComposeViewController", true)]
[ObjCRuntime.Deprecated(ObjCRuntime.PlatformName.iOS, 10, 0, ObjCRuntime.PlatformArchitecture.None, null)]
[ObjCRuntime.Unavailable(ObjCRuntime.PlatformName.WatchOS, ObjCRuntime.PlatformArchitecture.All, null)]
[ObjCRuntime.Unavailable(ObjCRuntime.PlatformName.TvOS, ObjCRuntime.PlatformArchitecture.All, null)]
public class GKFriendRequestComposeViewController : AppKit.NSViewController, GameKit.IGKViewController, IDisposable
[Foundation.Register("GKFriendRequestComposeViewController", true)]
[ObjCRuntime.Unavailable(ObjCRuntime.PlatformName.WatchOS, ObjCRuntime.PlatformArchitecture.All, null)]
[ObjCRuntime.Deprecated(ObjCRuntime.PlatformName.MacOSX, 10, 12, ObjCRuntime.PlatformArchitecture.None, null)]
[ObjCRuntime.Introduced(ObjCRuntime.PlatformName.MacOSX, 10, 8, ObjCRuntime.PlatformArchitecture.All, null)]
public class GKFriendRequestComposeViewController : AppKit.NSViewController, GameKit.IGKViewController, IDisposable
type GKFriendRequestComposeViewController = class
    inherit NSViewController
    interface IGKViewController
    interface INativeObject
    interface IDisposable
继承
GKFriendRequestComposeViewController
属性
实现

构造函数

GKFriendRequestComposeViewController()

不带参数初始化此类的新实例的默认构造函数。

GKFriendRequestComposeViewController(IntPtr)

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

GKFriendRequestComposeViewController(NSCoder)

从 unarchiver 对象中存储的数据初始化 对象的构造函数。

GKFriendRequestComposeViewController(NSObjectFlag)

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

GKFriendRequestComposeViewController(String, NSBundle)

UINavigationController 显示用于发送好友请求的屏幕。

属性

AccessibilityAssistiveTechnologyFocusedIdentifiers

UINavigationController 显示用于发送好友请求的屏幕。

(继承自 UIResponder)
AccessibilityCustomActions

允许将方法作为辅助功能支持补充操作添加到 AccessibilityCustomActions

(继承自 UIResponder)
AccessibilityDragSourceDescriptors

UINavigationController 显示用于发送好友请求的屏幕。

(继承自 UIResponder)
AccessibilityDropPointDescriptors

UINavigationController 显示用于发送好友请求的屏幕。

(继承自 UIResponder)
AdditionalSafeAreaInsets

获取或设置其他安全区域内集,以考虑特定于应用的工具栏和其他特定于应用的 UI。

(继承自 UIViewController)
Appearance

返回此类的 UIAppearance 类的强类型属性。

AutomaticallyAdjustsScrollViewInsets

开发人员不应使用此已弃用的属性。 开发人员应改用“UIScrollView.ContentInsetAdjustmentBehavior”。

(继承自 UIViewController)
AutomaticallyForwardAppearanceAndRotationMethodsToChildViewControllers

确定包含事件是否自动传播到嵌套视图控制器。

(继承自 UIViewController)
BarHideOnSwipeGestureRecognizer

用于隐藏导航控制器以响应轻扫的手势识别器。 (只读。)

(继承自 UINavigationController)
BarHideOnTapGestureRecognizer

用于隐藏导航控制器以响应点击的手势识别器。 (只读。)

(继承自 UINavigationController)
BottomLayoutGuide

开发人员不应使用此已弃用的属性。 相反,他们应使用 SafeAreaLayoutGuide

(继承自 UIViewController)
CanBecomeFirstResponder

确定此 UIREsponder 是否愿意成为第一响应者。

(继承自 UIResponder)
CanResignFirstResponder

确定此 UIResponder 是否愿意放弃其第一响应者状态。

(继承自 UIResponder)
ChildViewControllerForHomeIndicatorAutoHidden

获取一个子视图控制器,用于确定是否显示返回主屏幕的指示器。

(继承自 UIViewController)
ChildViewControllerForScreenEdgesDeferringSystemGestures

获取处理屏幕边缘手势时优先的子视图控制器(如果存在)。

(继承自 UIViewController)
ChildViewControllers

由此 UIViewController管理的 的 数组UIViewController

(继承自 UIViewController)
Class

UINavigationController 显示用于发送好友请求的屏幕。

(继承自 NSObject)
ClassHandle

此类的句柄。

ComposeViewDelegate

UINavigationController 显示用于发送好友请求的屏幕。

ContentSizeForViewInPopover

弹出框的默认内容大小。

(继承自 UIViewController)
DebugDescription

此对象的开发人员有意义的说明。

(继承自 NSObject)
DefinesPresentationContext

指定在显示另一个 UIViewController时是否显示此 UIViewControllerView 的 。

(继承自 UIViewController)
Delegate

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

(继承自 UINavigationController)
Description

对象的说明,即 ToString 的 Objective-C 版本。

(继承自 NSObject)
DisablesAutomaticKeyboardDismissal

如果 true为 ,则即使点击了非输入控件,输入视图也将保持在屏幕上。

(继承自 UIViewController)
EdgesForExtendedLayout

指定 应如何 ParentViewController 扩展此 UIViewController的布局。

(继承自 UIViewController)
EditButtonItem

UIBarButtonItem 状态“Edit”和“Done”之间切换的 。

(继承自 UIViewController)
Editing

trueUIViewController如果 允许应用程序用户编辑内容,则UIView为 。

(继承自 UIViewController)
ExtendedLayoutIncludesOpaqueBars

扩展布局是否包括不透明条。

(继承自 UIViewController)
ExtensionContext

NSExtensionContext获取此视图控制器的 。

(继承自 UIViewController)
FocusItemContainer

获取焦点环境子项的容器。

(继承自 UIViewController)
Handle

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

(继承自 NSObject)
HidesBarsOnSwipe

导航控制器在轻扫时是否应隐藏其条形图。

(继承自 UINavigationController)
HidesBarsOnTap

点击导航控制器时是否应隐藏其条形图。

(继承自 UINavigationController)
HidesBarsWhenKeyboardAppears

导航控制器在键盘出现时是否应隐藏其条形图。

(继承自 UINavigationController)
HidesBarsWhenVerticallyCompact

导航控制器是否应在垂直压缩的环境中隐藏其条形图。

(继承自 UINavigationController)
HidesBottomBarWhenPushed

指定当将其 UIViewController 推送到 UINavigationController上时,工具栏是否应可见。

(继承自 UIViewController)
InputAccessoryView

对象成为第一个响应者时可以附加的自定义视图。

(继承自 UIResponder)
InputAccessoryViewController

获取成为第一个响应者时thisUIResponder要显示的自定义附件UIInputViewController

(继承自 UIResponder)
InputAssistantItem

获取将用于配置快捷栏的助手。

(继承自 UIResponder)
InputView

在对象成为第一个响应者时显示的自定义视图。 只读。

(继承自 UIResponder)
InputViewController

获取在成为第一个响应者时thisUIResponder显示的自定义UIInputViewController

(继承自 UIResponder)
InteractivePopGestureRecognizer

用于左边缘到内部“后退”手势的手势识别器。

(继承自 UINavigationController)
InterfaceOrientation

接口的当前方向。

(继承自 UIViewController)
IsBeingDismissed

true 如果当前 UIViewController 正在消除,则为 。

(继承自 UIViewController)
IsBeingPresented

true 如果当前 UIViewController 正在呈现,则为 。

(继承自 UIViewController)
IsDirectBinding

UINavigationController 显示用于发送好友请求的屏幕。

(继承自 NSObject)
IsFirstResponder

返回此 UIResponder 是否为第一响应方。

(继承自 UIResponder)
IsMovingFromParentViewController

true 如果当前 UIViewController 正在从其父 UIViewController级 中删除,则为 。

(继承自 UIViewController)
IsMovingToParentViewController

true 如果当前 UIViewController 正在添加到父 UIViewController级 ,则为 。

(继承自 UIViewController)
IsProxy

UINavigationController 显示用于发送好友请求的屏幕。

(继承自 NSObject)
IsViewLoaded

一个 Boolean ,指示 是否 View 将 加载到内存中。

(继承自 UIViewController)
KeyCommands

应在此 UIResponder 上触发操作的关键命令。 只读。

(继承自 UIResponder)
MaxNumberOfRecipients

UINavigationController 显示用于发送好友请求的屏幕。

ModalInPopover

true 如果此 UIViewController 应由 以模式方式呈现,则 UIPopoverController为 。

(继承自 UIViewController)
ModalPresentationCapturesStatusBarAppearance

UIViewController 在以模式方式显示但非全屏显示时,是否接管状态栏的控制权。

(继承自 UIViewController)
ModalPresentationStyle

演示 UIModalPresentationStyleUIViewController时要使用的 。

(继承自 UIViewController)
ModalTransitionStyle

UIModalTransitionStyle要使用的 PresentViewController(UIViewController, Boolean, Action)

(继承自 UIViewController)
ModalViewController

活动呈现视图的控制器。

(继承自 UIViewController)
NavigationBar

UINavigationBar UINavigationController 的 。

(继承自 UINavigationController)
NavigationBarHidden

允许隐藏导航栏。

(继承自 UINavigationController)
NavigationController

最近的上级 UINavigationController

(继承自 UIViewController)
NavigationItem

一个 UINavigationItem ,它在其父级的 UINavigationController的 中NavigationBar表示此UIViewController

(继承自 UIViewController)
NextResponder

响应链上的下一个响应者

(继承自 UIResponder)
NibBundle

NSBundle从中实例化此UIViewController的 。

(继承自 UIViewController)
NibName

从中实例化此 UIViewController 的 nib 文件的名称,或 null

(继承自 UIViewController)
ParentFocusEnvironment

获取包含当前焦点环境的焦点环境。

(继承自 UIViewController)
ParentViewController

包含此 UIViewControllerUIViewController

(继承自 UIViewController)
PasteConfiguration

UIPasteConfiguration对象支持的 this

(继承自 UIResponder)
PopoverPresentationController

获取视图层次结构中最接近的上级, UIPopoverPresentationController 如果不存在,则为 或 null

(继承自 UIViewController)
PreferredContentSize

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

(继承自 UIViewController)
PreferredFocusedView

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

(继承自 UIViewController)
PreferredFocusEnvironments

系统以递归方式搜索以查找默认聚焦视图的 数组 IUIFocusEnvironment

(继承自 UIViewController)
PreferredScreenEdgesDeferringSystemGestures

获取其手势优先于系统手势的屏幕边缘。

(继承自 UIViewController)
PreferredStatusBarUpdateAnimation

隐藏和显示状态栏的首选动画样式。

(继承自 UIViewController)
PrefersHomeIndicatorAutoHidden

获取一个布尔值,该值指示是否首选隐藏 Home 指示器。

(继承自 UIViewController)
PresentationController

获取视图层次结构中最接近的上级, UIPresentationController 如果不存在,则为 或 null

(继承自 UIViewController)
PresentedViewController

UIViewController由此 UIViewController 或 的祖先UIViewControllerthis一呈现的 。

(继承自 UIViewController)
PresentingViewController

UIViewController表示此 UIViewController的 。

(继承自 UIViewController)
PreviewActionItems

获取当用户在 3D 触控预览中向上轻扫时显示的 的数组 IUIPreviewActionItem

(继承自 UIViewController)
ProvidesPresentationContextTransitionStyle

true 如果此 UIViewController 替代它显示的 的 UIViewController 过渡样式,则为 。

(继承自 UIViewController)
RestorationClass

负责还原应用程序状态的类。

(继承自 UIViewController)
RestorationIdentifier

指定用于还原的 的 UIViewController 实例。

(继承自 UIViewController)
RestoresFocusAfterTransition

获取或设置在 UIViewController 转换到 后是否还原焦点。

(继承自 UIViewController)
RetainCount

返回对象的当前 Objective-C 保留计数。

(继承自 NSObject)
RotatingFooterView

需要在接口旋转期间转换的页脚视图

(继承自 UIViewController)
RotatingHeaderView

需要在接口轮换期间转换的标头视图。

(继承自 UIViewController)
SearchDisplayController

UISearchDisplayController与此 UIViewController关联的 (如果有)。

(继承自 UIViewController)
Self

UINavigationController 显示用于发送好友请求的屏幕。

(继承自 NSObject)
ShouldAutomaticallyForwardAppearanceMethods

是否应将外观方法转发到子 UIViewController级 。

(继承自 UIViewController)
ShouldAutomaticallyForwardRotationMethods

是否应将旋转方法转发到子 UIViewController级 。

(继承自 UIViewController)
SplitViewController

最近的上级 UISplitViewControllernull

(继承自 UIViewController)
Storyboard

UIStoryboard创建此的 UIViewController ,或 null

(继承自 UIViewController)
Superclass

UINavigationController 显示用于发送好友请求的屏幕。

(继承自 NSObject)
SuperHandle

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

(继承自 NSObject)
SystemMinimumLayoutMargins

获取根视图的最小布局边距。

(继承自 UIViewController)
TabBarController

最近的祖先 UITabBarControllernull

(继承自 UIViewController)
TabBarItem

一个 UITabBarItem ,它在其父级的 UITabBarController的 中TabBar表示此UIViewController

(继承自 UIViewController)
TextInputContextIdentifier

一个标识符,指示此 UIResponder 应保留其文本输入模式信息。 只读。

(继承自 UIResponder)
TextInputMode

此 UIResponder 的文本输入模式。 只读。

(继承自 UIResponder)
Title

UIViewController的具有人类意义的标识符。

(继承自 UIViewController)
Toolbar

重新运行导航控制器的工具栏。

(继承自 UINavigationController)
ToolbarHidden

控制工具栏的可见性

(继承自 UINavigationController)
ToolbarItems

的 上的 UINavigationController数组UIBarButtonItemToolbar

(继承自 UIViewController)
TopLayoutGuide

开发人员不应使用此已弃用的属性。 相反,他们应使用 SafeAreaLayoutGuide

(继承自 UIViewController)
TopViewController

当前位于导航控制器堆栈顶部的视图控制器。

(继承自 UINavigationController)
TraitCollection

显示的特征,例如成语、比例和大小类。

(继承自 UIViewController)
TransitioningDelegate

一个委托对象,负责生成 IUIViewControllerAnimatedTransitioning用于自定义演示文稿的 。

(继承自 UIViewController)
UndoManager

响应者链中最近的共享 NSUndoManager。 只读。

(继承自 UIResponder)
UserActivity

封装此响应方支持的用户活动的操作。

(继承自 UIResponder)
View

此视图控制器管理的视图。

(继承自 UIViewController)
ViewControllers

导航控制器堆栈上的当前视图控制器。

(继承自 UINavigationController)
ViewIfLoaded

View如果已实例化,则返回 ;否则返回 null

(继承自 UIViewController)
ViewRespectsSystemMinimumLayoutMargins

获取或设置一个布尔值,该值控制视图控制器的视图是否遵循最小布局边距。

(继承自 UIViewController)
VisibleViewController

视图当前在屏幕上的视图控制器。

(继承自 UINavigationController)
WantsFullScreenLayout

true 如果视图应与状态栏重叠,则为 。

(继承自 UIViewController)
WeakComposeViewDelegate

UINavigationController 显示用于发送好友请求的屏幕。

WeakDelegate

可以响应此类型的委托协议的对象

(继承自 UINavigationController)
WeakTransitioningDelegate

用于为过渡动画和交互提供控制器的委托对象。

(继承自 UIViewController)
Zone

UINavigationController 显示用于发送好友请求的屏幕。

(继承自 NSObject)

方法

AccessibilityDecrement()

指示辅助功能元素递减其内容的值。

(继承自 UIResponder)
AccessibilityElementDidBecomeFocused()

指示辅助技术已将其焦点设置为 thisUIResponder

(继承自 UIResponder)
AccessibilityElementDidLoseFocus()

指示辅助技术已从 thisUIResponder更改其焦点。

(继承自 UIResponder)
AccessibilityElementIsFocused()

指示辅助技术是否侧重于 thisUIResponder

(继承自 UIResponder)
AccessibilityIncrement()

指示辅助功能元素递增其内容的值。

(继承自 UIResponder)
AccessibilityPerformEscape()

指示辅助功能系统关闭模式弹出或分层显示的元素。

(继承自 UIResponder)
AccessibilityPerformMagicTap()

切换应用的应用程序定义的“最重要的状态”。

(继承自 UIResponder)
AccessibilityScroll(UIAccessibilityScrollDirection)

重写后,允许辅助功能系统执行滚动。

(继承自 UIResponder)
Add(UIView)

这是 的 AddSubview(UIView)别名,但使用 Add 模式,因为它允许 C# 3.0 构造在创建对象后添加子视图。

(继承自 UIViewController)
AddChildViewController(UIViewController)

UIViewController将 添加为子级。

(继承自 UIViewController)
AddKeyCommand(UIKeyCommand)

添加 command 为可用于附加硬件键盘的快捷方式。

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

使用 NSString keyPath) 注册一个对象,以便在外部 (观察到该对象。   观察到的更改将调度到观察者的 对象 ObserveValue(NSString, NSObject, NSDictionary, IntPtr) 方法。

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

使用字符串 keyPath) 注册一个对象,以便在外部 (观察到该对象。   观察到的更改将调度到观察者的 对象 ObserveValue(NSString, NSObject, NSDictionary, IntPtr) 方法。

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

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

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

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

(继承自 NSObject)
AddRecipientPlayers(GKPlayer[])

UINavigationController 显示用于发送好友请求的屏幕。

AddRecipientsFromEmails(String[])

开发人员不应使用此已弃用的方法。 开发人员应改用“AddRecipientPlayers”。

AddRecipientsFromPlayerIDs(String[])

UINavigationController 显示用于发送好友请求的屏幕。

AppearanceWhenContainedIn(Type[])

当视图托管在指定的层次结构中时,返回此类实例的强类型 UIAppearance。

ApplicationFinishedRestoringState()

在状态还原期间对象解码完成时调用。

(继承自 UIViewController)
AwakeFromNib()

从 nib 文件加载对象后调用。 替代器必须调用 base。AwakeFromNib () 。

(继承自 NSObject)
BecomeFirstResponder()

请求对象成为第一个响应者。

(继承自 UIResponder)
BeginAppearanceTransition(Boolean, Boolean)

使用 EndAppearanceTransition(),告诉孩子 UIViewController他们的 UIView即将出现或消失。

(继承自 UIViewController)
BeginInvokeOnMainThread(Action)

UINavigationController 显示用于发送好友请求的屏幕。

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

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

(继承自 NSObject)
BeginRequestWithExtensionContext(NSExtensionContext)

主机应用即将发出请求时调用的方法。

(继承自 UIViewController)
Bind(NSString, NSObject, String, NSDictionary)

UINavigationController 显示用于发送好友请求的屏幕。

(继承自 NSObject)
Bind(String, NSObject, String, NSDictionary)
已过时.

UINavigationController 显示用于发送好友请求的屏幕。

(继承自 NSObject)
BindingInfo(String)
已过时.

UINavigationController 显示用于发送好友请求的屏幕。

(继承自 NSObject)
BindingOptionDescriptions(String)
已过时.

UINavigationController 显示用于发送好友请求的屏幕。

(继承自 NSObject)
BindingValueClass(String)
已过时.

UINavigationController 显示用于发送好友请求的屏幕。

(继承自 NSObject)
CanPaste(NSItemProvider[])

获取是否可以 this 接受 的粘贴操作。

(继承自 UIResponder)
CanPerform(Selector, NSObject)

确定此 UIResponder 是否可以执行指定的操作。 通常用于探测编辑命令。

(继承自 UIResponder)
CanPerformUnwind(Selector, UIViewController, NSObject)

指定这 UIViewController 是否支持特定的展开 segue

(继承自 UIViewController)
ChildViewControllerForStatusBarHidden()

重写时,返回 UIViewController,用于确定状态栏是隐藏还是取消隐藏。

(继承自 UIViewController)
ChildViewControllerForStatusBarStyle()

重写时,返回确定状态栏样式的 UIViewController。

(继承自 UIViewController)
CommitEditing()

UINavigationController 显示用于发送好友请求的屏幕。

(继承自 NSObject)
CommitEditing(NSObject, Selector, IntPtr)

UINavigationController 显示用于发送好友请求的屏幕。

(继承自 NSObject)
ConformsToProtocol(IntPtr)

调用以确定此对象是否实现指定的协议。

(继承自 NSObject)
Copy()

执行基础 Objective-C 对象的副本。

(继承自 NSObject)
Copy(NSObject)

指示“复制”编辑操作。

(继承自 UIResponder)
Cut(NSObject)

指示“剪切”编辑操作。

(继承自 UIResponder)
DangerousAutorelease()

UINavigationController 显示用于发送好友请求的屏幕。

(继承自 NSObject)
DangerousRelease()

UINavigationController 显示用于发送好友请求的屏幕。

(继承自 NSObject)
DangerousRetain()

UINavigationController 显示用于发送好友请求的屏幕。

(继承自 NSObject)
DecodeRestorableState(NSCoder)

使用 EncodeRestorableState(NSCoder),允许自定义状态还原。

(继承自 UIViewController)
Delete(NSObject)

指示“删除”编辑操作。

(继承自 UIResponder)
DidAnimateFirstHalfOfRotation(UIInterfaceOrientation)

在两步旋转动画的第一部分末尾调用的已弃用函数。

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

指示对多关系的索引发生了更改。

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

UINavigationController 显示用于发送好友请求的屏幕。

(继承自 NSObject)
DidChangeValue(String)

指示对指定的键进行了更改。

(继承自 NSObject)
DidMoveToParentViewController(UIViewController)

在 之后 this 调用 从父 UIViewController添加或删除 。

(继承自 UIViewController)
DidReceiveMemoryWarning()

当系统内存不足时调用。

(继承自 UIViewController)
DidRotate(UIInterfaceOrientation)

在 UI 旋转后调用。

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

指示焦点已更改,详见 。context

(继承自 UIViewController)
DismissModalViewController(Boolean)

关闭接收方提交的模式视图控制器。

(继承自 UIViewController)
DismissMoviePlayerViewController()

消除 MPMoviePlayerViewController

(继承自 UIViewController)
DismissViewController(Boolean, Action)

关闭显示的视图控制器。

(继承自 UIViewController)
DismissViewControllerAsync(Boolean)

关闭显示的视图控制器。

(继承自 UIViewController)
Dispose()

释放 NSObject 对象使用的资源。

(继承自 NSObject)
Dispose(Boolean)

释放 GKFriendRequestComposeViewController 对象使用的资源。

DoesNotRecognizeSelector(Selector)

指示此对象无法识别指定的选择器。

(继承自 NSObject)
EncodeRestorableState(NSCoder)

使用 DecodeRestorableState(NSCoder)允许自定义状态还原。

(继承自 UIViewController)
EncodeTo(NSCoder)

在提供的编码器上对对象的状态进行编码

(继承自 UIViewController)
EndAppearanceTransition()

使用 BeginAppearanceTransition(Boolean, Boolean),告诉子 UIViewController级 的子视图刚刚出现或消失。

(继承自 UIViewController)
Equals(NSObject)

UINavigationController 显示用于发送好友请求的屏幕。

(继承自 NSObject)
Equals(Object)

UINavigationController 显示用于发送好友请求的屏幕。

(继承自 NSObject)
ExposedBindings()

UINavigationController 显示用于发送好友请求的屏幕。

(继承自 NSObject)
GetAllowedChildViewControllersForUnwinding(UIStoryboardUnwindSegueSource)

子对象的数组 UIViewController ,应进行搜索以确定它们是否为展开 segue 目标。

(继承自 UIViewController)
GetAppearance(UITraitCollection)

UINavigationController 显示用于发送好友请求的屏幕。

GetAppearance(UITraitCollection, Type[])

UINavigationController 显示用于发送好友请求的屏幕。

GetAppearance<T>()

获取 GKFriendRequestComposeViewController 的子类的外观代理 GKFriendRequestComposeViewController.GKFriendRequestComposeViewControllerAppearance

GetAppearance<T>(UITraitCollection)

获取 GKFriendRequestComposeViewController 的子类的外观代理 GKFriendRequestComposeViewController.GKFriendRequestComposeViewControllerAppearance

GetAppearance<T>(UITraitCollection, Type[])

当视图托管在指定的层次结构中时,获取具有指定特征集合的 GKFriendRequestComposeViewController 子类的外观代理 GKFriendRequestComposeViewController.GKFriendRequestComposeViewControllerAppearance

GetBindingInfo(NSString)

UINavigationController 显示用于发送好友请求的屏幕。

(继承自 NSObject)
GetBindingOptionDescriptions(NSString)

UINavigationController 显示用于发送好友请求的屏幕。

(继承自 NSObject)
GetBindingValueClass(NSString)

UINavigationController 显示用于发送好友请求的屏幕。

(继承自 NSObject)
GetChildViewControllerContainingSegueSource(UIStoryboardUnwindSegueSource)

UIViewController子级,它是展开 segue 的源。

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

检索指定键的值。

(继承自 NSObject)
GetEnumerator()

返回一个枚举器,该枚举器列出所有子 UIView

(继承自 UIViewController)
GetHashCode()

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

(继承自 NSObject)
GetMethodForSelector(Selector)

UINavigationController 显示用于发送好友请求的屏幕。

(继承自 NSObject)
GetNativeField(String)
已过时.

UINavigationController 显示用于发送好友请求的屏幕。

(继承自 NSObject)
GetNativeHash()

UINavigationController 显示用于发送好友请求的屏幕。

(继承自 NSObject)
GetOverrideTraitCollectionForChildViewController(UIViewController)

获取 UITraitCollection 此控制器的指定子视图控制器的 。

(继承自 UIViewController)
GetSegueForUnwinding(UIViewController, UIViewController, String)

定义要在两 UIViewController个 s 之间使用的 segue。

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

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

(继承自 UIViewController)
GetSupportedInterfaceOrientations()

UIViewController支持的方向。

(继承自 UIViewController)
GetTargetForAction(Selector, NSObject)

返回响应操作的对象。

(继承自 UIResponder)
GetTargetViewControllerForAction(Selector, NSObject)

获取指定操作和发送方的视图控制器。

(继承自 UIViewController)
GetViewControllerForUnwind(Selector, UIViewController, NSObject)

用于在子 UIViewController级 中搜索特定的展开 segue。

(继承自 UIViewController)
Init()

UINavigationController 显示用于发送好友请求的屏幕。

(继承自 NSObject)
InitializeHandle(IntPtr)

UINavigationController 显示用于发送好友请求的屏幕。

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

UINavigationController 显示用于发送好友请求的屏幕。

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

UINavigationController 显示用于发送好友请求的屏幕。

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

UINavigationController 显示用于发送好友请求的屏幕。

(继承自 NSObject)
InvokeOnMainThread(Action)

UINavigationController 显示用于发送好友请求的屏幕。

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

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

(继承自 NSObject)
IsEqual(NSObject)

UINavigationController 显示用于发送好友请求的屏幕。

(继承自 NSObject)
IsKindOfClass(Class)

UINavigationController 显示用于发送好友请求的屏幕。

(继承自 NSObject)
IsMemberOfClass(Class)

UINavigationController 显示用于发送好友请求的屏幕。

(继承自 NSObject)
LoadView()

初始化 View 属性。

(继承自 UIViewController)
LoadViewIfNeeded()

如有必要,请从情节提要或 NIB 同步加载 View

(继承自 UIViewController)
MakeTextWritingDirectionLeftToRight(NSObject)

设置文本从左到右的写入方向。

(继承自 UIResponder)
MakeTextWritingDirectionRightToLeft(NSObject)

设置文本从右到左的写入方向。

(继承自 UIResponder)
MarkDirty()

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

(继承自 NSObject)
MotionBegan(UIEventSubtype, UIEvent)

在动作 (摇动) 已开始时调用的方法。

(继承自 UIResponder)
MotionCancelled(UIEventSubtype, UIEvent)

如果操作系统取消运动 (摇动) 事件,则调用的方法。

(继承自 UIResponder)
MotionEnded(UIEventSubtype, UIEvent)

运动 (摇动) 完成时调用的方法。

(继承自 UIResponder)
MutableCopy()

创建指定 NSObject 的可变副本。

(继承自 NSObject)
ObjectDidEndEditing(NSObject)

UINavigationController 显示用于发送好友请求的屏幕。

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

指示相对于此对象的指定 keyPath 处的值已更改。

(继承自 NSObject)
Paste(NSItemProvider[])

调用 以从 执行粘贴操作。

(继承自 UIResponder)
Paste(NSObject)

指示“粘贴”编辑操作。

(继承自 UIResponder)
PerformSegue(String, NSObject)

执行指定的 UIStoryboardSegue

(继承自 UIViewController)
PerformSelector(Selector)

UINavigationController 显示用于发送好友请求的屏幕。

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

UINavigationController 显示用于发送好友请求的屏幕。

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

在当前实例上调用选择器,如果 obj 不为 null,则将其作为其单个参数传递。

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

UINavigationController 显示用于发送好友请求的屏幕。

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

UINavigationController 显示用于发送好友请求的屏幕。

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

UINavigationController 显示用于发送好友请求的屏幕。

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

UINavigationController 显示用于发送好友请求的屏幕。

(继承自 NSObject)
PopToRootViewController(Boolean)

弹出除根控制器以外的所有 UIViewController 对象。

(继承自 UINavigationController)
PopToViewController(UIViewController, Boolean)

弹出 对象, UIViewController 直到 。

(继承自 UINavigationController)
PopViewController(Boolean)

从堆栈上弹出并 UIViewController 更新显示。

(继承自 UINavigationController)
PreferredContentSizeDidChangeForChildContentContainer(IUIContentContainer)

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

(继承自 UIViewController)
PreferredInterfaceOrientationForPresentation()

最能显示此 UIViewController的内容的方向。

(继承自 UIViewController)
PreferredStatusBarStyle()

此 UIViewController 的首选 UIStatusBarStyle。

(继承自 UIViewController)
PrefersStatusBarHidden()

此 UIViewController 是否倾向于隐藏状态栏。

(继承自 UIViewController)
PrepareForInterfaceBuilder()

UINavigationController 显示用于发送好友请求的屏幕。

(继承自 NSObject)
PrepareForSegue(UIStoryboardSegue, NSObject)

通知应用程序 UIStoryboardSegue 即将执行 。

(继承自 UIViewController)
PresentModalViewController(UIViewController, Boolean)

应用程序开发人员应使用 PresentViewController(UIViewController, Boolean, Action) 而不是此已弃用的方法。

(继承自 UIViewController)
PresentMoviePlayerViewController(MPMoviePlayerViewController)

使用标准切换效果显示电影控制器。

(继承自 UIViewController)
PresentViewController(UIViewController, Boolean, Action)

以模式方式显示视图控制器。

(继承自 UIViewController)
PresentViewControllerAsync(UIViewController, Boolean)

以模式方式显示视图控制器。

(继承自 UIViewController)
PressesBegan(NSSet<UIPress>, UIPressesEvent)

指示已在遥控器或游戏控制器上按下物理按钮。

(继承自 UIResponder)
PressesCancelled(NSSet<UIPress>, UIPressesEvent)

指示由于系统事件而取消了物理按钮按下事件。

(继承自 UIResponder)
PressesChanged(NSSet<UIPress>, UIPressesEvent)

指示 Force 的值 evt 已更改。

(继承自 UIResponder)
PressesEnded(NSSet<UIPress>, UIPressesEvent)

指示在遥控器或游戏控制器上按下物理按钮的结束。

(继承自 UIResponder)
PushViewController(UIViewController, Boolean)

将视图控制器推送到 UINavigationController 的导航堆栈上。

(继承自 UINavigationController)
RegisterForPreviewingWithDelegate(IUIViewControllerPreviewingDelegate, UIView)

为 3D Touch 速览和弹出操作注册此视图控制器。

(继承自 UIViewController)
ReloadInputViews()

当此对象是第一响应者时,汇报自定义输入和附件视图。

(继承自 UIResponder)
RemoteControlReceived(UIEvent)

指示已收到远程控制事件。

(继承自 UIResponder)
RemoveFromParentViewController()

从其 ParentViewControllerUIViewController中移除此 UIViewController

(继承自 UIViewController)
RemoveKeyCommand(UIKeyCommand)

删除以前添加的硬件键盘加速键。

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

阻止指定观察程序接收指定 keyPath 的更改值的进一步通知。

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

停止指定的观察程序接收指定 keyPath 和上下文的更改值的进一步通知。

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

阻止指定观察程序接收指定 keyPath 的更改值的进一步通知。

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

停止指定的观察程序接收指定 keyPath 和上下文的更改值的进一步通知。

(继承自 NSObject)
ResignFirstResponder()

当此 UIResponder 被要求辞去其第一响应者状态时调用。

(继承自 UIResponder)
RespondsToSelector(Selector)

此对象是否识别指定的选择器。

(继承自 NSObject)
RestoreUserActivityState(NSUserActivity)

还原持续运行指定用户活动所需的状态。

(继承自 UIResponder)
Select(NSObject)

指示“选择”编辑操作。|B

(继承自 UIResponder)
SelectAll(NSObject)

指示“全选”编辑操作。

(继承自 UIResponder)
SetEditing(Boolean, Boolean)

打开或关闭编辑模式。

(继承自 UIViewController)
SetMessage(String)

UINavigationController 显示用于发送好友请求的屏幕。

SetNativeField(String, NSObject)
已过时.

UINavigationController 显示用于发送好友请求的屏幕。

(继承自 NSObject)
SetNavigationBarHidden(Boolean, Boolean)

允许显示或隐藏导航控制器的UINavigationBar

(继承自 UINavigationController)
SetNeedsFocusUpdate()

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

(继承自 UIViewController)
SetNeedsStatusBarAppearanceUpdate()

通知系统状态栏的属性已更改。

(继承自 UIViewController)
SetNeedsUpdateOfHomeIndicatorAutoHidden()

控制开发人员的视图控制器是否应显示返回到主屏幕的指示器。

(继承自 UIViewController)
SetNeedsUpdateOfScreenEdgesDeferringSystemGestures()

更改其手势优先于系统手势的屏幕边缘。

(继承自 UIViewController)
SetNilValueForKey(NSString)

将指定键的值设置为 null。

(继承自 NSObject)
SetOverrideTraitCollection(UITraitCollection, UIViewController)

设置此 UITraitCollection 控制器的指定子视图控制器的 对象。

(继承自 UIViewController)
SetToolbarHidden(Boolean, Boolean)

允许显示或隐藏导航控制器的UIToolbar

(继承自 UINavigationController)
SetToolbarItems(UIBarButtonItem[], Boolean)

将 添加到UIBarButtonItemUIToolbar

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

将键指定的属性的值设置为指定的值。

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

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

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

设置可以使用键路径访问的属性的值。

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

指示尝试将值写入未定义的键。 如果未重写,则引发 NSUndefinedKeyException。

(继承自 NSObject)
SetValuesForKeysWithDictionary(NSDictionary)

将此 NSObject 的值设置为指定字典中的值。

(继承自 NSObject)
SetViewControllers(UIViewController[], Boolean)

替换导航控制器的导航堆栈中的控制器。

(继承自 UINavigationController)
ShouldAutorotate()

打开或关闭自动旋转。

(继承自 UIViewController)
ShouldAutorotateToInterfaceOrientation(UIInterfaceOrientation)

trueUIViewController如果 支持旋转到指定的 UIInterfaceOrientation,则为 。

(继承自 UIViewController)
ShouldPerformSegue(String, NSObject)

是否应执行 segue。

(继承自 UIViewController)
ShouldUpdateFocus(UIFocusUpdateContext)

this 失去或接收焦点之前调用。 如果任一焦点环境返回 false,则取消焦点更新。

(继承自 UIViewController)
ShowDetailViewController(UIViewController, NSObject)

在详细信息上下文中显示此视图控制器。

(继承自 UIViewController)
ShowViewController(UIViewController, NSObject)

UIViewController根据环境的当前大小类显示 。

(继承自 UINavigationController)
SystemLayoutFittingSizeDidChangeForChildContentContainer(IUIContentContainer)

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

(继承自 UIViewController)
ToggleBoldface(NSObject)

切换使用加粗字体。

(继承自 UIResponder)
ToggleItalics(NSObject)

切换斜体字体的使用。

(继承自 UIResponder)
ToggleUnderline(NSObject)

切换下划线的使用。

(继承自 UIResponder)
ToString()

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

(继承自 NSObject)
TouchesBegan(NSSet, UIEvent)

当一个或多个手指触摸屏幕时发送。

(继承自 UIResponder)
TouchesCancelled(NSSet, UIEvent)

在取消触摸处理时发送。

(继承自 UIResponder)
TouchesEnded(NSSet, UIEvent)

从屏幕上抬起一个或多个手指时发送。

(继承自 UIResponder)
TouchesEstimatedPropertiesUpdated(NSSet)

更新 的估计属性 touches 时调用。

(继承自 UIResponder)
TouchesMoved(NSSet, UIEvent)

当一个或多个手指在屏幕上移动时发送。

(继承自 UIResponder)
TraitCollectionDidChange(UITraitCollection)

视图控制器的特征集合发生更改时调用的方法。

(继承自 UIViewController)
Transition(UIViewController, UIViewController, Double, UIViewAnimationOptions, Action, UICompletionHandler)

用于在两个视图控制器的子视图控制器之间切换。

(继承自 UIViewController)
TransitionAsync(UIViewController, UIViewController, Double, UIViewAnimationOptions, Action)

用于在两个视图控制器的子视图控制器之间切换。

(继承自 UIViewController)
Unbind(NSString)

UINavigationController 显示用于发送好友请求的屏幕。

(继承自 NSObject)
Unbind(String)
已过时.

UINavigationController 显示用于发送好友请求的屏幕。

(继承自 NSObject)
UnregisterForPreviewingWithContext(IUIViewControllerPreviewing)

previewing停止处理 3D Touch 速览和弹出输入。

(继承自 UIViewController)
Unwind(UIStoryboardSegue, UIViewController)

在展开路径中任何 UIViewController 对象的展开 segue 期间调用。

(继承自 UIViewController)
UpdateFocusIfNeeded()

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

(继承自 UIViewController)
UpdateUserActivityState(NSUserActivity)

汇报给定的用户活动状态。

(继承自 UIResponder)
UpdateViewConstraints()

当 需要重新计算其布局约束时 UIViewController 调用。

(继承自 UIViewController)
ValueForKey(NSString)

返回与指定键关联的属性的值。

(继承自 NSObject)
ValueForKeyPath(NSString)

返回可以使用键路径访问的属性的值。

(继承自 NSObject)
ValueForUndefinedKey(NSString)

指示尝试读取未定义键的值。 如果未重写,则引发 NSUndefinedKeyException。

(继承自 NSObject)
ViewDidAppear(Boolean)

在 将 添加到视图层次结构后 View 调用。

(继承自 UIViewController)
ViewDidDisappear(Boolean)

此方法在 从显示UIView层次结构中删除 的 View 属性后UIViewControllerUIViewthis调用。

(继承自 UIViewController)
ViewDidLayoutSubviews()

在 已布局其子视图后 View 调用。

(继承自 UIViewController)
ViewDidLoad()

在控制器的 View 加载到内存后调用。

(继承自 UIViewController)
ViewDidUnload()

在 iOS 6 及更高版本中,永远不会调用此方法。 在以前的版本中,当控制器的视图从内存中释放时调用它。

(继承自 UIViewController)
ViewLayoutMarginsDidChange()

更改视图的布局边距时调用的方法。

(继承自 UIViewController)
ViewSafeAreaInsetsDidChange()

通过系统条形图的大小更改或 AdditionalSafeAreaInsets 属性更改更改安全区域插页时调用的方法。

(继承自 UIViewController)
ViewWillAppear(Boolean)

View 将 添加到视图层次结构之前调用 。

(继承自 UIViewController)
ViewWillDisappear(Boolean)

在从显示UIView层次结构中删除UIViewUIViewControllerView 的 之前,将调用此方法。

(继承自 UIViewController)
ViewWillLayoutSubviews()

在布局其子视图之前 View 调用 。

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

对于 UIViewController 作为应用扩展一部分的对象,在重设 大小之前 View 调用 。

(继承自 UIViewController)
ViewWillUnload()

在 iOS 6 及更高版本中,永远不会调用此方法。 在早期版本中,它在控制器的视图从内存中释放之前调用。

(继承自 UIViewController)
WillAnimateFirstHalfOfRotation(UIInterfaceOrientation, Double)

在轮换的前半部分发送的已弃用方法。 应用程序开发人员应改用 WillAnimateRotation(UIInterfaceOrientation, Double)

(继承自 UIViewController)
WillAnimateRotation(UIInterfaceOrientation, Double)

在一步式接口旋转之前调用。

(继承自 UIViewController)
WillAnimateSecondHalfOfRotation(UIInterfaceOrientation, Double)

在轮换的后半部分发送的已弃用方法。 应用程序开发人员应改用 WillAnimateRotation(UIInterfaceOrientation, Double)

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

指示指定键中指定索引的值即将更改。

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

UINavigationController 显示用于发送好友请求的屏幕。

(继承自 NSObject)
WillChangeValue(String)

指示指定键的值即将更改。

(继承自 NSObject)
WillMoveToParentViewController(UIViewController)

在添加或删除 this 容器 UIViewController之前调用。

(继承自 UIViewController)
WillRotate(UIInterfaceOrientation, Double)

在用户界面轮换之前调用。

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

通知 this 其特征集合将更改为 traitCollection,由 协调 coordinator

(继承自 UIViewController)

事件

DidFinish

由 对象引发的事件。

扩展方法

ObjectDidBeginEditing(NSObject, INSEditor)

UINavigationController 显示用于发送好友请求的屏幕。

ObjectDidEndEditing(NSObject, INSEditor)

UINavigationController 显示用于发送好友请求的屏幕。

GetValidModes(NSObject, NSFontPanel)

UINavigationController 显示用于发送好友请求的屏幕。

ValidateToolbarItem(NSObject, NSToolbarItem)

UINavigationController 显示用于发送好友请求的屏幕。

GetDebugDescription(INSObjectProtocol)

UINavigationController 显示用于发送好友请求的屏幕。

DisplayingBannerAd(UIViewController)

UINavigationController 显示用于发送好友请求的屏幕。

GetCanDisplayBannerAds(UIViewController)

UINavigationController 显示用于发送好友请求的屏幕。

GetInterstitialPresentationPolicy(UIViewController)

UINavigationController 显示用于发送好友请求的屏幕。

GetOriginalContentView(UIViewController)

UINavigationController 显示用于发送好友请求的屏幕。

PresentingFullScreenAd(UIViewController)

UINavigationController 显示用于发送好友请求的屏幕。

RequestInterstitialAdPresentation(UIViewController)

UINavigationController 显示用于发送好友请求的屏幕。

SetCanDisplayBannerAds(UIViewController, Boolean)

UINavigationController 显示用于发送好友请求的屏幕。

SetInterstitialPresentationPolicy(UIViewController, ADInterstitialPresentationPolicy)

UINavigationController 显示用于发送好友请求的屏幕。

ShouldPresentInterstitialAd(UIViewController)

UINavigationController 显示用于发送好友请求的屏幕。

AcceptsPreviewPanelControl(NSObject, QLPreviewPanel)

UINavigationController 显示用于发送好友请求的屏幕。

BeginPreviewPanelControl(NSObject, QLPreviewPanel)

UINavigationController 显示用于发送好友请求的屏幕。

EndPreviewPanelControl(NSObject, QLPreviewPanel)

UINavigationController 显示用于发送好友请求的屏幕。

GetAccessibilityCustomRotors(NSObject)

获取适用于 this 对象的 对象的数组UIAccessibilityCustomRotor

SetAccessibilityCustomRotors(NSObject, UIAccessibilityCustomRotor[])

设置适用于 this 对象的 对象数组UIAccessibilityCustomRotor

GetTransitionCoordinator(UIViewController)

IUIViewControllerTransitionCoordinator 协调指定 UIViewController 的转换。

GetFocusItemContainer(IUIFocusEnvironment)

获取环境的焦点容器。

GetParentFocusEnvironment(IUIFocusEnvironment)

获取父焦点环境。

GetPreferredFocusEnvironments(IUIFocusEnvironment)

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

CanPaste(IUIPasteConfigurationSupporting, NSItemProvider[])

true如果响应方可以从指定的项提供程序粘贴,则返回 。

Paste(IUIPasteConfigurationSupporting, NSItemProvider[])

执行粘贴。

DecreaseSize(UIResponder, NSObject)

硬件键盘请求 (Command-减) 来减小 的大小 UIResponder

IncreaseSize(UIResponder, NSObject)

硬件键盘请求 (Command-plus) 来增加 的大小 UIResponder

CollapseSecondaryViewController(UIViewController, UIViewController, UISplitViewController)

折叠上的辅助视图控制器 splitViewController

GetSplitViewController(UIViewController)

返回嵌套视图控制器的拆分视图控制器。

SeparateSecondaryViewControllerForSplitViewController(UIViewController, UISplitViewController)

返回 的 splitViewController单独辅助视图控制器。

适用于

另请参阅