Friday, March 21, 2025
HomeiOS Developmentios - The way to combine GigyaNss in my Xcode challenge?

ios – The way to combine GigyaNss in my Xcode challenge?

[ad_1]

I am attempting to combine Gigya inside my Xcode challenge however the official documentation lacks for particulars. First, I do not perceive how I ought to load my schema. I’ve created a json file and added it to my challenge. How am I suppose to name the next line of code in AppDelegate?

GigyaNss.shared.register(scheme: <YOUR_SCHEME>.self)

After the schema is loaded into GigyaNss, ought to I create a storyboard and a view controller and from there (perhaps in viewDidLoad) name the operate to add the schema I would like?

GigyaNss.shared
   .load(screenSetId: "DEFAULT")
   .lang(title: "en")
   .initialRoute(title: "login")
   .occasions(UserHost.self) { end in
      swap consequence {
      case .success(let screenId, let motion, let account):
        // success
      case .error(let screenId, let error):
       // error
      case .canceled:
        // canceled
     }
   }
   .present(viewController: self)

[ad_2]

RELATED ARTICLES

LEAVE A REPLY

Please enter your comment!
Please enter your name here

Most Popular

Recent Comments