UIPopoverPresentationControllerDelegate.WillRepositionPopover 方法
定义
重要
一些信息与预发行产品相关,相应产品在发行之前可能会进行重大修改。 对于此处提供的信息,Microsoft 不作任何明示或暗示的担保。
重载
WillRepositionPopover(UIPopoverPresentationController, CGRect, UIView) |
已过时.
开发人员不应使用此已弃用的方法。 相反,他们应该使用 WillRepositionPopover(UIPopoverPresentationController, CGRect, UIView) |
WillRepositionPopover(UIPopoverPresentationController, CGRect, UIView) |
在重新定位 popover 之前,系统会调用此方法。 |
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)
在重新定位 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
参数
- popoverPresentationController
- UIPopoverPresentationController
- targetRect
- CGRect
- inView
- UIView
- 属性