Skip to content

Instantly share code, notes, and snippets.

@raghubb4444
Created November 15, 2016 06:57
Show Gist options
  • Save raghubb4444/e4388edd0f1ef9bb40d7b21b4f67b06d to your computer and use it in GitHub Desktop.
Save raghubb4444/e4388edd0f1ef9bb40d7b21b4f67b06d to your computer and use it in GitHub Desktop.
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