UIAlertView.AddButton(String) 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 button to an alert view with the specified title.
[Foundation.Export("addButtonWithTitle:")]
public virtual nint AddButton (string title);
abstract member AddButton : string -> nint
override this.AddButton : string -> nint
Parameters
Returns
System.System.IntPtr
System.nativeint
The index of the newly added button.
- Attributes
Remarks
This method adds a button to an alert view with the specified title.