Compartilhar via


UIPopoverPresentationControllerDelegate.WillRepositionPopover Método

Definição

Sobrecargas

WillRepositionPopover(UIPopoverPresentationController, CGRect, UIView)
Obsoleto.

Os desenvolvedores não devem usar esse método preterido. Em vez disso, eles devem usar WillRepositionPopover(UIPopoverPresentationController, CGRect, UIView)

WillRepositionPopover(UIPopoverPresentationController, CGRect, UIView)

O sistema chama esse método pouco antes de reposicionar o popover.

WillRepositionPopover(UIPopoverPresentationController, CGRect, UIView)

Cuidado

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

Os desenvolvedores não devem usar esse método preterido. Em vez disso, eles devem usar 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

Parâmetros

popoverPresentationController
UIPopoverPresentationController
targetRect
CGRect
inView
UIView
Atributos

Aplica-se a

WillRepositionPopover(UIPopoverPresentationController, CGRect, UIView)

O sistema chama esse método pouco antes de reposicionar o 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

Parâmetros

popoverPresentationController
UIPopoverPresentationController
targetRect
CGRect
inView
UIView
Atributos

Aplica-se a