UIAlertController.AddAction(UIAlertAction) Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Adds a UIAlertAction action that this
UIAlertController displays as a button for the user.
[Foundation.Export("addAction:")]
public virtual void AddAction (UIKit.UIAlertAction action);
abstract member AddAction : UIKit.UIAlertAction -> unit
override this.AddAction : UIKit.UIAlertAction -> unit
Parameters
- action
- UIAlertAction
The action to add, this is created by calling Create(String, UIAlertActionStyle, Action<UIAlertAction>).
- Attributes