Option 1 - Automated Integration
1. Add import statement
Objective-C
Open your AppDelegate.m file, and add the following import statement:
#import <AppoxeeSDK/AppoxeeSDK.h>
Swift
Add to your Objective-C bridging header the following import statement
#import <AppoxeeSDK/AppoxeeSDK.h>
2.Add the following implementation to the method named: application:didFinishLaunchingWithOptions:
Objective-C
- (BOOL)application:(UIApplication *)application didFinishLaunchingWithOptions:(NSDictionary *)launchOptions { // Method takes into consideration a valid AppoxeeConfig.plist file in your application. [[Appoxee shared] engageAndAutoIntegrateWithLaunchOptions:launchOptions andDelegate:nil]; return YES; }
Swift
func application(application: UIApplication, didFinishLaunchingWithOptions launchOptions: [NSObject: AnyObject]?) -> Bool { // Method takes into consideration a valid AppoxeeConfig.plist file in your application. Appoxee.shared()?.engageAndAutoIntegrateWithLaunchOptions(launchOptions, andDelegate: nil) return true }