You can display the login page to the end user of your Catalyst iOS app using the showLogin() method. This will be displayed when the user is logged out of the app. If the login is successful, the user will be able to access the app.
The code syntax for user login is given below:
ZCatalystApp.shared.showLogin( completion : @escaping ( Error? ) -> Void ) ViewController.swift
- completion: The completion block will be passed with an error if the login was unsuccessful.
Last Updated 2023-09-03 01:06:41 +0530 +0530
Send your feedback to us