Created
November 15, 2016 06:57
-
-
Save raghubb4444/e4388edd0f1ef9bb40d7b21b4f67b06d to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
If i click sumuppayAction Button, it shows sumuppay login screen. But am not able to write action for that Login Button, am not able to find that button too. Please help out | |
private func presentLogin(animated: Bool) { | |
SumupSDK.presentLoginFromViewController(self, animated: animated) { [weak self] (success, error) in | |
guard error == nil else { | |
return | |
} | |
} | |
} | |
func sumuppayAction(sender: UIButton!) | |
{ | |
self.presentLogin(true) | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment