[英]Blank page open when I tap on Paypal from BrainTree payment page in iOS 10
I have integrated BRAINTREE SDK into my app. 我已将BRAINTREE SDK集成到我的应用程序中。 Also I have following all the steps of PayPal/Client-Side Implementation . 另外,我还遵循了PayPal /客户端实施的所有步骤。
It is working perfectly in iOS 9. But PAYPAL functionality is not working in iOS 10 only. 它在iOS 9中可以完美运行。但是,PAYPAL功能仅在iOS 10中不能使用。 When I tap on the PAYPAL button from the below 1st screen, blank page has been opened as shown in below 2nd image. 当我从下面的第一个屏幕上点击“付款”按钮时,空白页面已打开,如下图第二个图像所示。
But when I want to pay with PAYPAL in iOS 9, then it is redirecting following page same as below image, but not working in iOS 10 Devices. 但是,当我想在iOS 9中使用PAYPAL付款时,它会重定向与下图相同的下一页,但在iOS 10设备中不起作用。
I am not sure why this happens for iOS 10 only. 我不确定为什么仅在iOS 10上会发生这种情况。
Also I have added this issue on GitHub . 另外,我还在GitHub上添加了此问题 。
Any help would be appreciated. 任何帮助,将不胜感激。
Finally, got the solution. 最后,找到解决方案。 It happens due to UITabBarController which is implemented into my app. 它的发生是由于UITabBarController已实现到我的应用程序中。
So earlier I was presenting payment screeen (BTDropInViewController) same as below :- 因此,较早前,我介绍了与以下相同的付款屏幕(BTDropInViewController):
[self presentViewController:navigationController animated:YES completion:nil];
So Now I am using this instead of above line, 所以现在我用它代替上面的线,
[APPDELEGATE.navigationController presentViewController:navigationController animated:YES completion:nil];
//#define APPDELEGATE ((AppDelegate *)[[UIApplication sharedApplication] delegate]) //Global object of AppDelegate
//@property (strong, nonatomic) UINavigationController *navigationController; //which is declared into AppDelegate.h
Hope, this is what you're looking for. 希望这就是您要寻找的。 Any concern get back to me. 如有任何疑问,请联系我。 :) :)
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.