Edit

Share via


IUIViewControllerPreviewing Interface

Definition

Interface representing the required methods (if any) of the protocol 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
Attributes
Implements

Remarks

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

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

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

Properties

Handle

Handle (pointer) to the unmanaged object representation.

(Inherited from INativeObject)
PreviewingGestureRecognizerForFailureRelationship

Developers override this method to return a UIGestureRecognizer that can prevent the preview press from interfering with the app's other gesture recognizers.

SourceRect

Developers override this method to return the section of their view that stays sharp while the surrounding content blurs.

SourceView

Developers override this method to return the UIView that contains the SourceRect that stays sharp during the previewing press.

WeakDelegate

A weak reference to an object that responds to the delegate protocol for this type.

Applies to