Share via


UIAlertController.Create(String, String, UIAlertControllerStyle) Method

Definition

[Foundation.Export("alertControllerWithTitle:message:preferredStyle:")]
[ObjCRuntime.BindingImpl(ObjCRuntime.BindingImplOptions.GeneratedCode | ObjCRuntime.BindingImplOptions.Optimizable)]
public static UIKit.UIAlertController Create(string? title, string? message, UIKit.UIAlertControllerStyle preferredStyle);
[<Foundation.Export("alertControllerWithTitle:message:preferredStyle:")>]
[<ObjCRuntime.BindingImpl(ObjCRuntime.BindingImplOptions.GeneratedCode | ObjCRuntime.BindingImplOptions.Optimizable)>]
static member Create : string * string * UIKit.UIAlertControllerStyle -> UIKit.UIAlertController

Parameters

title
String
message
String
preferredStyle
UIAlertControllerStyle

Returns

Attributes

Applies to