SKPayment.SimulatesAskToBuyInSandbox 属性

定义

获取或设置一个布尔值,该值控制是否将在沙盒中模拟“询问购买”流。

[ObjCRuntime.Introduced(ObjCRuntime.PlatformName.iOS, 8, 3, ObjCRuntime.PlatformArchitecture.All, null)]
[ObjCRuntime.Introduced(ObjCRuntime.PlatformName.MacOSX, 10, 14, ObjCRuntime.PlatformArchitecture.Arch64, null)]
public virtual bool SimulatesAskToBuyInSandbox { [Foundation.Export("simulatesAskToBuyInSandbox")] [ObjCRuntime.Introduced(ObjCRuntime.PlatformName.iOS, 8, 3, ObjCRuntime.PlatformArchitecture.All, null)] [ObjCRuntime.Introduced(ObjCRuntime.PlatformName.MacOSX, 10, 14, ObjCRuntime.PlatformArchitecture.Arch64, null)] get; [Foundation.NotImplemented("Not available on SKPayment, only available on SKMutablePayment")] [ObjCRuntime.Introduced(ObjCRuntime.PlatformName.iOS, 8, 3, ObjCRuntime.PlatformArchitecture.All, null)] [ObjCRuntime.Introduced(ObjCRuntime.PlatformName.MacOSX, 10, 14, ObjCRuntime.PlatformArchitecture.Arch64, null)] set; }
member this.SimulatesAskToBuyInSandbox : bool with get, set

属性值

属性

适用于