Stripe / Apple-pay 图标显示错误/被苹果商店拒绝

Stripe / Apple-pay Icon presented wrongly/ rejected by apple store

Apple 拒绝了我的应用程序,因为 Stripe pod 显示了不合适的 apple pay 图标,它在 apple pay 图标旁边添加了一个额外的 "apple pay"。 (见附件)

有没有人遇到和我一样的问题,你的解决方案是什么?

有没有人成功上传过安装了apple pay功能的app?

也请看我的调用代码如下,非常感谢!

    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)
    }

您在代码中设置了这两者。因此,设置图像或标签文本。