共用方式為


GKRandomSource.GetNextBool 方法

定義

傳回隨機值布林值。

[Foundation.Export("nextBool")]
[ObjCRuntime.Introduced(ObjCRuntime.PlatformName.iOS, 9, 0, ObjCRuntime.PlatformArchitecture.All, null)]
[ObjCRuntime.Introduced(ObjCRuntime.PlatformName.MacOSX, 10, 11, ObjCRuntime.PlatformArchitecture.Arch64, null)]
public virtual bool GetNextBool ();
abstract member GetNextBool : unit -> bool
override this.GetNextBool : unit -> bool

傳回

實作

屬性

適用於