Adding ZenKey Button to iOS

Create an instance of ZenKeyAuthorizeButton and add it to your UI. Set a delegate to handle authorization.

import ZenKeySDK  
class LoginViewController {  
  let zenKeyButton = ZenKeyAuthorizeButton()  
    override func viewDidLoad() {  
          zenKeyButton.delegate = self  


Additional Button Options

To learn more about button variations, view adding buttons in the full iOS integration guide.

Did this page help you?