i am currently developing an ios app that uses PayPal’s Mobile Payment Library to facilitate payment of goods.The Problem is that Paypal generates a web view that set to portrait -Upright mode. This is to my knowledge is generated inside the payPal library and i can’t see anyway to acces it . Is there anyway to make te web view rotate in landscape mode.After some extensive searching i found that most everyone are just using the portait mode ,is there anyway to make it rotate to landscape.
i am currently developing an ios app that uses PayPal’s Mobile Payment Library to
Share
Actually there is a way to manually rotate the checkbox view of paypal in iOS. This view is an instance of PayPalViewClass. Just add a method to look through all the views and all the subviews to find the instanse of this class. Once you’ve found the view you was looking for just apply setTransform method to it.
The method should look like like this:
It should be called in your payWithPayPal method.
I hope this helps 😉