To initialize the SDK, you need to add SinchChatSDK.shared.initialize()
to the application
function definition in the AppDelegate
file. For example:
func application(_ application: UIApplication, didFinishLaunchingWithOptions launchOptions: [UIApplication.LaunchOptionsKey: Any]?) -> Bool {
SinchChatSDK.shared.initialize()
return true
}
After initializing, you must [set the identity]((/docs/sinch-chat/getting-started/ios/set-identity/).