https://www.jianshu.com/p/6389b50586cf

 

一、itunesConnnect设置推广的productId.

二、支付代码中加入方法

-(BOOL)paymentQueue:(SKPaymentQueue*)queue shouldAddStorePayment:(SKPayment*)payment forProduct:(SKProduct*)product

{

       return NO;

}

三、在safari里填上链接

itms-services://?action=purchaseIntent&bundleId=bundleId&productIdentifier=productId

注意,bundleId,bundleId,bundleId,不是bundleID,我被这个大写的D,坑了半天的时间,在safari死活跳不过到App里。

productId为全称。

 
 
4人点赞
 
 


作者:开发我东哥
链接:https://www.jianshu.com/p/6389b50586cf
来源:简书
著作权归作者所有。商业转载请联系作者获得授权,非商业转载请注明出处。

相关文章:

  • 2021-12-19
  • 2021-08-07
  • 2021-11-15
  • 2021-10-20
  • 2021-05-17
  • 2022-01-23
  • 2021-12-05
猜你喜欢
  • 2021-10-15
  • 2022-01-23
  • 2022-02-20
  • 2021-12-15
  • 2022-12-23
  • 2022-12-23
  • 2021-08-23
相关资源
相似解决方案