-
Notifications
You must be signed in to change notification settings - Fork 42
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Delegate method of view controllers not called #18
Comments
I've just tried to run the code and it appears to work as expected, calling the delegate method as expected after entering some test card details and tapping the Pay button. Do you mean this isn't working for you when you run the sample code? Or it isn't working in your project? If you could please post some sample code it might help see where the issue is. |
I am facing the same issue. Step 1: Step 2 : Step 3: cardViewController.delegate = self Step 4 : Step 5: Handling delegate methods extension Viewcontroller : CardViewControllerDelegate { func onTapDone(controller: CardViewController, cardToken: CkoCardTokenResponse?, status: CheckoutTokenStatus) { |
@dhavalgajjar-greenapex Could you try change your |
Closing this issue for now, if you still experience this problem or the above solution does not work, feel free to re-open it. |
Initialising |
Just copy pasted the kick start frames code in iOS GitHub repo. In that I found a bug that cardViewController.delegate = self does not set the delegate, its still nil and because of that delegate methods of my vc are not called from CardViewController.
The text was updated successfully, but these errors were encountered: