UIPopoverPresentationControllerDelegate.WillRepositionPopover Method

Definition

Overloads

WillRepositionPopover(UIPopoverPresentationController, CGRect, UIView)
Obsolete.

Developers should not use this deprecated method. Insteady, they should use WillRepositionPopover(UIPopoverPresentationController, CGRect, UIView)

WillRepositionPopover(UIPopoverPresentationController, CGRect, UIView)

The system calls this method shortly before repositioning the popover.

WillRepositionPopover(UIPopoverPresentationController, CGRect, UIView)

Caution

Use the overload with 'ref' parameters for 'targetRect' and 'inView'.

Developers should not use this deprecated method. Insteady, they should use WillRepositionPopover(UIPopoverPresentationController, CGRect, UIView)

[System.Obsolete("Use the overload with 'ref' parameters for 'targetRect' and 'inView'.")]
public virtual void WillRepositionPopover (UIKit.UIPopoverPresentationController popoverPresentationController, CoreGraphics.CGRect targetRect, UIKit.UIView inView);
abstract member WillRepositionPopover : UIKit.UIPopoverPresentationController * CoreGraphics.CGRect * UIKit.UIView -> unit
override this.WillRepositionPopover : UIKit.UIPopoverPresentationController * CoreGraphics.CGRect * UIKit.UIView -> unit

Parameters

popoverPresentationController
UIPopoverPresentationController
targetRect
CGRect
inView
UIView
Attributes

Applies to

WillRepositionPopover(UIPopoverPresentationController, CGRect, UIView)

The system calls this method shortly before repositioning the popover.

[Foundation.Export("popoverPresentationController:willRepositionPopoverToRect:inView:")]
public virtual void WillRepositionPopover (UIKit.UIPopoverPresentationController popoverPresentationController, ref CoreGraphics.CGRect targetRect, ref UIKit.UIView inView);
abstract member WillRepositionPopover : UIKit.UIPopoverPresentationController *  *  -> unit
override this.WillRepositionPopover : UIKit.UIPopoverPresentationController *  *  -> unit

Parameters

popoverPresentationController
UIPopoverPresentationController
targetRect
CGRect
inView
UIView
Attributes

Applies to