File tree Expand file tree Collapse file tree 1 file changed +2
-2
lines changed
Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -26,7 +26,7 @@ Or you can add it directly within Xcode:
2626### Initialization
2727- Setgreet App Key: You can get the app key while creating a new app in the Setgreet flow editor.
2828
29- Initialize the SDK in your AppDelegate or SceneDelegate:
29+ Initialize the SDK in your AppDelegate / SceneDelegate or anywhere you want :
3030
3131``` Swift
3232import UIKit
@@ -39,7 +39,7 @@ class AppDelegate: UIResponder, UIApplicationDelegate {
3939
4040 func application (_ application : UIApplication, didFinishLaunchingWithOptions launchOptions : [UIApplication.LaunchOptionsKey: Any ]? ) -> Bool {
4141
42- Setgreet.initialize (
42+ Setgreet.shared . initialize (
4343 appKey : " APP_KEY" ,
4444 config : SetgreetConfig (
4545 debugMode : false
You can’t perform that action at this time.
0 commit comments