The Boomtrain iOS SDK allows you to track user activity, identify users, and render personalized recommendations directly from your native app experience. Here's how you can get started:
- Drag and Drop BoomtrainSDK.framework onto the "Frameworks" folder in your XCode project.
- In XCode, select your Target, then the Build Phases tab. Under "Link Binary With Libraries" add SystemConfiguration.framework.
- Add the following to your AppDelegate.m:
#import <Boomtrain.h>
- (BOOL)application:(UIApplication *)application didFinishLaunchingWithOptions:(NSDictionary *)launchOptions {
[Boomtrain initialize:@"BOOMTRAIN-SITE-ID"];
}
- Implement the BoomtrainDelegate
#import <Boomtrain.h>
@interface MyViewController : UIViewController<BoomtrainDelegate>