Editar

Compartilhar via


IUIViewControllerPreviewingDelegate Interface

Definition

Interface representing the required methods (if any) of the protocol UIViewControllerPreviewingDelegate.

[Foundation.Protocol(Name="UIViewControllerPreviewingDelegate", WrapperType=typeof(UIKit.UIViewControllerPreviewingDelegateWrapper))]
[ObjCRuntime.Introduced(ObjCRuntime.PlatformName.iOS, 9, 0, ObjCRuntime.PlatformArchitecture.All, null)]
public interface IUIViewControllerPreviewingDelegate : IDisposable, ObjCRuntime.INativeObject
type IUIViewControllerPreviewingDelegate = interface
    interface INativeObject
    interface IDisposable
Derived
Attributes
Implements

Remarks

This interface contains the required methods (if any) from the protocol defined by UIViewControllerPreviewingDelegate.

If developers create classes that implement this interface, the implementation methods will automatically be exported to Objective-C with the matching signature from the method defined in the UIViewControllerPreviewingDelegate protocol.

Optional methods (if any) are provided by the T:UIKit.UIViewControllerPreviewingDelegate_Extensions class as extension methods to the interface, allowing developers to invoke any optional methods on the protocol.

Properties

Handle

Handle (pointer) to the unmanaged object representation.

(Inherited from INativeObject)

Methods

CommitViewController(IUIViewControllerPreviewing, UIViewController)

Method that is called to allow the developer to prepare the commit view.

GetViewControllerForPreview(IUIViewControllerPreviewing, CGPoint)

Method that is called when the user has pressed a source view, blurring the remainder of the screen, so that a preview view controller can be returned.

Applies to