paytabscom / paytabs-ios-library-sample

This repository contains latest static framework (.framework), resources bundle (.bundle), sample apps for both Objective-C and Swift, and documentation to get SDK integrated in the Xcode projects.
MIT License
12 stars 11 forks source link

Month and Year Picker is not showing in ios app ( payu credit/debit card details ) #39

Closed rajdeeppaliwal closed 3 years ago

rajdeeppaliwal commented 3 years ago

I have integrated @PayU SDK in my ios code and it is working fine for all ios <= 12 but as I tried to run it on ios 13 and 14 it is not loading the picker view while trying to enter the card expiry month and year. Please help. thanks in advance.

P.S.: I have removed third party library IQKeyboardManager also as I read somewhere on the forum that it does not work with a third-party library.

rajdeeppaliwal commented 3 years ago

Found the solution. In my case, It was related to the window object in scenedelegate which was not available to the payu sdk so I removed the scene delegate from the project and let the app route through appdelegate.swift. app delegate itself has the window object. for more reference please follow the link given below.

source: [https://stackoverflow.com/a/59006569/1328906]