简体   繁体   中英

In-app purchases in iOS webapp?

This might be a stupid question but after googling for a bit I can't seem to find an answer to this.

Is there any way of allowing users to buy things with their Apple ID in a webapp? I know it's basically a website loaded into a stripped down Safari but I wanted to be sure.

I'm developing a game that runs in a simple Android app with webview but on iOS I use the webapp function because Apple does not allow an app to simply load a website. Would it be possible to offer in-app purchases through an iOS webapp?

I'm not sure I fully understand your setup but I don't think it will matter. If your app is packaged into a native iOS app (even if you're loading some HTML), you will be able to offer in-app purchases but it will require you to write some objective-c native iOS code.

If your app is not packaged into a native iOS app, then no, you can't offer in-app purchases.

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM