iOS Guides | Samples

MonoTouch.UIKit.IUIViewControllerPreviewing

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

See Also: IUIViewControllerPreviewing

Syntax

[MonoTouch.Foundation.Protocol(Name="UIViewControllerPreviewing", WrapperType=typeof(MonoTouch.UIKit.UIViewControllerPreviewingWrapper))]
[MonoTouch.Foundation.ProtocolMember(ArgumentSemantic=MonoTouch.ObjCRuntime.ArgumentSemantic.None, GetterSelector="previewingGestureRecognizerForFailureRelationship", IsProperty=true, IsRequired=true, IsStatic=false, Name="PreviewingGestureRecognizerForFailureRelationship", PropertyType=typeof(MonoTouch.UIKit.UIGestureRecognizer), Selector="previewingGestureRecognizerForFailureRelationship")]
[MonoTouch.Foundation.ProtocolMember(ArgumentSemantic=MonoTouch.ObjCRuntime.ArgumentSemantic.UnsafeUnretained, GetterSelector="delegate", IsProperty=true, IsRequired=true, IsStatic=false, Name="WeakDelegate", PropertyType=typeof(MonoTouch.Foundation.NSObject), Selector="delegate")]
[MonoTouch.Foundation.ProtocolMember(ArgumentSemantic=MonoTouch.ObjCRuntime.ArgumentSemantic.None, GetterSelector="sourceView", IsProperty=true, IsRequired=true, IsStatic=false, Name="SourceView", PropertyType=typeof(MonoTouch.UIKit.UIView), Selector="sourceView")]
[MonoTouch.Foundation.ProtocolMember(ArgumentSemantic=MonoTouch.ObjCRuntime.ArgumentSemantic.None, GetterSelector="sourceRect", IsProperty=true, IsRequired=true, IsStatic=false, Name="SourceRect", PropertyType=typeof(MonoTouch.CoreGraphics.CGRect), Selector="sourceRect", SetterSelector="setSourceRect:")]
[MonoTouch.ObjCRuntime.Introduced(MonoTouch.ObjCRuntime.PlatformName.iOS, 9, 0, MonoTouch.ObjCRuntime.PlatformArchitecture.None, null)]
public interface IUIViewControllerPreviewing : INativeObject, IDisposable

Remarks

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

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 UIViewControllerPreviewing protocol.

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

Requirements

Namespace: MonoTouch.UIKit
Assembly: monotouch (in monotouch.dll)
Assembly Versions: 0.0.0.0

The members of MonoTouch.UIKit.IUIViewControllerPreviewing are listed below.

Public Properties

[read-only]
PreviewingGestureRecognizerForFailureRelationshipUIGestureRecognizer. Developers override this method to return a UIGestureRecognizer that can prevent the preview press from interfering with the app's other gesture recognizers.
SourceRectRectangleF. Developers override this method to return the section of their view that stays sharp while the surrounding content blurs.
[read-only]
SourceViewUIView. Developers override this method to return the UIView that contains the IUIViewControllerPreviewing.SourceRect that stays sharp during the previewing press.
WeakDelegateNSObject. A weak reference to an object that responds to the delegate protocol for this type.