且构网

分享程序员开发的那些事...
且构网 - 分享程序员编程开发的那些事

Braintree降价Apple Pay崩溃

更新时间:2023-12-04 21:07:04

PKPaymentAuthorizationViewController 以纵向显示,以便FaceID正常运行。

The PKPaymentAuthorizationViewController is presented in portrait orientation so that FaceID functions correctly.

您会遇到一个例外,因为您在项目的设备方向下仅选择了横向选项。您需要在此列表中添加肖像。

You are getting an exception as you have only landscape options selected under 'Device Orientation' in your project. You need to add portrait to this list.

如果需要的话,可以将其余的视图控制器限制为横向。

You can limit the rest of your view controllers to landscape orientation if that is what you want.