共用方式為


UIAlertViewStyle 列舉

定義

UIAlertView 視覺化樣式。

[ObjCRuntime.Unavailable(ObjCRuntime.PlatformName.TvOS, ObjCRuntime.PlatformArchitecture.All, null)]
[ObjCRuntime.Unavailable(ObjCRuntime.PlatformName.WatchOS, ObjCRuntime.PlatformArchitecture.All, null)]
public enum UIAlertViewStyle
type UIAlertViewStyle = 
繼承
UIAlertViewStyle
屬性

欄位

Default 0

標準警示。

LoginAndPasswordInput 3

允許使用者輸入登入識別碼和密碼。

PlainTextInput 2

允許使用者輸入文字。

SecureTextInput 1

允許使用者輸入文字,但會遮蔽文字欄位。

備註

以外的 Default 值可讓使用者輸入文字,包括隱藏輸入文字的選項。

適用於

另請參閱