ios - Parse.com IAP : How to switch between production and sandbox mode?

标签 ios parse-platform

我正在使用 Parse.com PFPurchase IAP 库,但它没有说明如何在 Sandbox 和 Production 模式之间切换。

我正在使用 Sandbox 测试帐户,弹出对话框显示环境是 Sandbox。但是,我不知道它是否会作为 App Store 中已发布的应用程序正常运行。

还有谁知道答案吗?

谢谢

最佳答案

唉,现在我是那些回答自己问题的开发者之一。 (耻辱)

Apple 似乎最近对此进行了更改,以便应用程序根据应用程序的部署方式知道您使用的是沙盒还是生产环境。以前不是这样的。

https://developer.apple.com/library/ios/technotes/tn2259/_index.html

“当您从 Xcode、测试设备 (iOS) 或 Finder (OS X) 启动应用程序时,Store Kit 连接到沙箱环境。它连接到从 App 下载的应用程序的生产环境商店。”

关于ios - Parse.com IAP : How to switch between production and sandbox mode?,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/27326540/

相关文章:

ios - 为什么图像不显示在 imageview 中

ios - 元组的 Swift 可选绑定(bind)

swift - 在 Swift 中的 PFQuery TableView Controller 中查询关系数据

ios - 删除所有具有特定值的解析用户

ios - 如何在异常处理程序中运行方法?

ios - 是否可以将两个视频文件合并为一个文件,iOS 中的一个屏幕?

ios - 对 "InputModeProperties.plist"的数百次访问滞后于我的游戏 (iPhone)

ios - Parse-Server iOS SDK - 创建返回 PFQuery 结果的函数

ios - 成功登录时解析切换 View Controller

ios - 如何在 sprite 到达特定位置后移除 physicsBody/停止响应重力?