UIKit.UIAlertView.AddButton Method
Adds a button to an alert view with the specified title.

Syntax

[Foundation.Export("addButtonWithTitle:")]
public virtual nint AddButton (string title)

Parameters

title
The string that will appear in the button.

Returns

The index of the newly added button.

Remarks

This method adds a button to an alert view with the specified title.

Requirements

Namespace: UIKit
Assembly: Xamarin.iOS (in Xamarin.iOS.dll)
Assembly Versions: 0.0.0.0