iPhone +在应用程序内购买 +更改警报消息
我已经在现有应用程序之一中实现了应用程序内购买,它运行良好。但问题是,每当我点击任何锁定的功能(我在应用程序代码中实现的位置)时,它都会向我显示标题为
“确认您的应用程序内购买”的
警报消息,并显示消息
“您想购买一个吗?” xxx 功能售价 xxx 美元?”和
“取消”/“购买”UIButton。
我没有在代码中设置任何这些消息,所以我不知道这些文本来自哪里,也不知道如何使用
“此功能已锁定,您想购买此功能并解锁它吗?”之类的内容更改此消息。
I have implemented In App Purchase in one of the existing application, it's working fine. But the problem is that whenever I tap on any of the locked feature (where I have implemented In App code), it show me the alert message with title like
"Confirm your In App Purchase"
and message saying
"Do you want to buy one xxx Features for $xxx ?" and
"Cancel" / "Buy" UIButtons.
I am not setting any of these messages in code, so I don't know where is this text coming from and how to change this message with something like
"This Feature is locked, do you want to buy this feature and unlock it ?"
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(1)
这些消息来自 App Store,因此您无法更改文本。你必须朝另一个方向走。当用户点击与锁定功能相关的按钮或表格单元格时,您会显示一条消息,要求用户购买它。如果他/她确认,则会出现 App Store 消息。
The messages are coming from the App Store, so that you can not change the text. You must go the other direction. When the user taps a button or a table vie cell related to a locked feature, then you show youe message asking the user to buy it. If he/she confirms, then the App Store message appears.