共用方式為


UIPopoverPresentationControllerDelegate_Extensions.WillRepositionPopover 方法

定義

多載

WillRepositionPopover(IUIPopoverPresentationControllerDelegate, UIPopoverPresentationController, CGRect, UIView)
已淘汰.
WillRepositionPopover(IUIPopoverPresentationControllerDelegate, UIPopoverPresentationController, CGRect, UIView)

WillRepositionPopover(IUIPopoverPresentationControllerDelegate, UIPopoverPresentationController, CGRect, UIView)

警告

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

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

參數

popoverPresentationController
UIPopoverPresentationController
targetRect
CGRect
inView
UIView
屬性

適用於

WillRepositionPopover(IUIPopoverPresentationControllerDelegate, UIPopoverPresentationController, CGRect, UIView)

public static void WillRepositionPopover (this UIKit.IUIPopoverPresentationControllerDelegate This, UIKit.UIPopoverPresentationController popoverPresentationController, ref CoreGraphics.CGRect targetRect, ref UIKit.UIView inView);
static member WillRepositionPopover : UIKit.IUIPopoverPresentationControllerDelegate * UIKit.UIPopoverPresentationController *  *  -> unit

參數

This
IUIPopoverPresentationControllerDelegate

這個擴充方法運作所在的 實例。

popoverPresentationController
UIPopoverPresentationController
targetRect
CGRect
inView
UIView

適用於