Open bircni opened 1 year ago
That's a good suggestion, I'm not too familiar with UIKit, so I need to experiment a bit.
In your example you have called initialize
twice. Is that really needed? Have you tried initialising it on AppDelegate?
func application(_ application: UIApplication, didFinishLaunchingWithOptions launchOptions: [UIApplication.LaunchOptionsKey: Any]?) -> Bool {
// Override point for customization after application launch.
Aptabase.shared.initialize(appKey: "")
return true
}
no but this should work i guess
it depends on how init is called...
I suggest adding an example how to use it in UIKit - I did it like this: In the main class I initialize aptabase and it just works: