UIButton.FromType(UIButtonType) UIButton.FromType(UIButtonType) Method

Definition

Creates a new UIButton of the specified type.

[Foundation.Export("buttonWithType:")]
public static UIKit.UIButton FromType (UIKit.UIButtonType type);
static member FromType : UIKit.UIButtonType -> UIKit.UIButton

Parameters

Returns

Applies to