Braintree Drop In Apple Pay crashing

前端 未结 1 589
难免孤独
难免孤独 2021-01-27 08:02

Presenting PKPaymentAuthorizationViewController always results in a total crash with pointing to my AppDelegate: Thread 1: signal SIGABRT

let vc         


        
1条回答
  •  别那么骄傲
    2021-01-27 08:51

    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.

    0 讨论(0)
提交回复
热议问题