編輯

共用方式為


UIActionSheet.ShowInView(UIView) Method

Definition

Displays an action sheet in a specified view.

[Foundation.Export("showInView:")]
public virtual void ShowInView (UIKit.UIView view);
abstract member ShowInView : UIKit.UIView -> unit
override this.ShowInView : UIKit.UIView -> unit

Parameters

view
UIView

The view to originate the action sheet in.

Attributes

Remarks

The appearance of the action sheet will be animated. When used on an iPad, the action sheet will appear in the middle of the screen.

Applies to