UIPopoverPresentationControllerDelegate.WillRepositionPopover 方法
定義
重要
部分資訊涉及發行前產品,在發行之前可能會有大幅修改。 Microsoft 對此處提供的資訊,不做任何明確或隱含的瑕疵擔保。
多載
WillRepositionPopover(UIPopoverPresentationController, CGRect, UIView) |
已淘汰.
開發人員不應該使用此已被取代的方法。 相反地,他們應該使用 WillRepositionPopover(UIPopoverPresentationController, CGRect, UIView) |
WillRepositionPopover(UIPopoverPresentationController, CGRect, UIView) |
系統很快就會呼叫這個方法,再重新置放快顯。 |
WillRepositionPopover(UIPopoverPresentationController, CGRect, UIView)
警告
Use the overload with 'ref' parameters for 'targetRect' and 'inView'.
開發人員不應該使用此已被取代的方法。 相反地,他們應該使用 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
參數
- popoverPresentationController
- UIPopoverPresentationController
- targetRect
- CGRect
- inView
- UIView
- 屬性
適用於
WillRepositionPopover(UIPopoverPresentationController, CGRect, UIView)
系統很快就會呼叫這個方法,再重新置放快顯。
[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
參數
- popoverPresentationController
- UIPopoverPresentationController
- targetRect
- CGRect
- inView
- UIView
- 屬性