IUIViewControllerPreviewing 接口

定义

表示所需方法的接口 ((如果协议 IUIViewControllerPreviewing有任何) )。

[Foundation.Protocol(Name="UIViewControllerPreviewing", WrapperType=typeof(UIKit.UIViewControllerPreviewingWrapper))]
[ObjCRuntime.Introduced(ObjCRuntime.PlatformName.iOS, 9, 0, ObjCRuntime.PlatformArchitecture.All, null)]
public interface IUIViewControllerPreviewing : IDisposable, ObjCRuntime.INativeObject
type IUIViewControllerPreviewing = interface
    interface INativeObject
    interface IDisposable
属性
实现

注解

此接口包含所需的方法 ((如果定义协议 IUIViewControllerPreviewing有任何) )。

如果创建实现此接口的对象,则实现方法将自动导出到 Objective-C,其中包含协议中定义的方法的 IUIViewControllerPreviewing 匹配签名。

如果任一) 由 UIKit.UIViewControllerPreviewing_Extensions 类作为接口的扩展方法提供,则可选方法 (,从而允许调用协议上的任何可选方法。

属性

Handle

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

(继承自 INativeObject)
PreviewingGestureRecognizerForFailureRelationship

开发人员重写此方法,以返回 UIGestureRecognizer 可阻止预览按下干扰应用的其他手势识别器的 。

SourceRect

开发人员重写此方法以返回在周围内容模糊时保持锐利的视图部分。

SourceView

开发人员重写此方法,以返回 UIView 包含 SourceRect 在预览按下期间保持锐利的 。

WeakDelegate

对响应此类型的委托协议的 对象的弱引用。

适用于