swift - 如何在 Swift 的 Stripe 中的 STPAddCardViewController 中显示“支付”而不是“完成”
问题描述
我在这里使用 Stripe 付款我需要在 STPAddCardViewController 中显示“付款”,如何?.. 请告诉我
代码:
let config = STPPaymentConfiguration.shared
config.requiredBillingAddressFields = .none
let viewController = STPAddCardViewController(configuration: config, theme: STPTheme.default())
viewController.delegate = self
let navigationController = UINavigationController(rootViewController: viewController)
present(navigationController, animated: true, completion: nil)
o/p:在这里代替Done
我想要"Pay"
.. 怎么样?请帮忙
解决方案
推荐阅读
- c++ - 如何对继承的文件使用前向声明
- amazon-s3 - logstash 输出 s3 文件名
- database - 使用laravel导入时如何防止在数据库中复制csv文件?
- html - 我想在影响导航栏的图片上悬停
- php - 如何从 symfony 表单的多维字段中勾选特定复选框?
- python - 如何将具有相同文件名的csv导入数据框,应用一些程序,然后合并?
- azure - Azure 表:ExcuteBatch 返回什么结果?
- powershell - 从文本文件中获取最大数字并将其作为 var 递增 1
- r - 如何删除远程(postgresql)表上的排序?
- google-app-engine - “我的项目”的 App Engine 服务帐户不存在?