Ios 条纹/苹果支付图标出现错误/被苹果商店拒绝

Ios 条纹/苹果支付图标出现错误/被苹果商店拒绝,ios,stripe-payments,appstore-approval,applepay,Ios,Stripe Payments,Appstore Approval,Applepay,苹果拒绝了我的应用程序,因为它显示了不合适的苹果支付图标,在苹果支付图标旁边增加了一个额外的“苹果支付”。(见附件) 有没有人像我一样有同样的问题?你的解决办法是什么 是否有人成功上传了安装了apple pay功能的应用程序 请看我的电话号码如下,谢谢 private func reloadPaymentButtonContent() { guard let selectedPaymentMethod = paymentContext.selectedPaymentOptio

苹果拒绝了我的应用程序,因为它显示了不合适的苹果支付图标,在苹果支付图标旁边增加了一个额外的“苹果支付”。(见附件)

有没有人像我一样有同样的问题?你的解决办法是什么

是否有人成功上传了安装了apple pay功能的应用程序

请看我的电话号码如下,谢谢

    private func reloadPaymentButtonContent() {

    guard let selectedPaymentMethod = paymentContext.selectedPaymentOption else {
        // Show default image, text, and color
        paymentButton.setImage(#imageLiteral(resourceName: "Payment"), for: .normal)
        paymentButton.setTitle("付款", for: .normal)
        paymentButton.setTitleColor(.gray, for: .normal)
        return
    }

    // Show selected payment method image, label, and darker color
    paymentButton.setImage(selectedPaymentMethod.image, for: .normal)
    paymentButton.setTitle(selectedPaymentMethod.label, for: .normal)
    paymentButton.setTitleColor(.blue, for: .normal)
}

private func reloadBuyButton(){
    if paymentContext.selectedPaymentOption == nil {
        //            buySubscriptionButton.backgroundColor = .loopGrayColor
        //            buySubscriptionButton.setTitle("订阅", for: .normal)
        //            buySubscriptionButton.setTitleColor(.white, for: .normal)
        buySubscriptionButton.isEnabled = false
    }else{
        buySubscriptionButton.isEnabled = true
        //            buySubscriptionButton.backgroundColor = .loopGreenColor
        //            buySubscriptionButton.setTitle("订阅", for: .normal)
        //            buySubscriptionButton.setTitleColor(.white, for: .normal)
    }

您在代码中设置了这两个选项。所以,设置图像或标签文本。

您在那里调用哪种方法?您是否尝试过
[STPImageLibrary applePayCardImage]
谢谢您的帮助,请在帖子中查看我的呼叫代码,我刚刚添加了它,非常感谢!好的,您的行
paymentButton.setTitle(selectedPaymentMethod.label,
是显示您在屏幕截图中突出显示的文本的内容(
标签
是“Apple Pay”),因此,如果您愿意,可以将代码更改为不显示该内容(可能检查您是否有
STApplePaymentOption
的实例,然后不显示标签),或修改您的用户界面,使其更清楚该标签的含义,即“您当前选择的支付方式是使用Apple pay支付”。