友盟统计:
(目前做的是统计下载次数)
在didFinishLaunchingWithOptions这个启动的方法中,写了如下代码:
NSString *version = [[[NSBundle mainBundle] infoDictionary] objectForKey:@"CFBundleShortVersionString"];
[MobClick setAppVersion:version];
UMConfigInstance.appKey = @"57b2eb4e67e58ef100284d";
UMConfigInstance.channelId = @"App Store";
[MobClick startWithConfigure:UMConfigInstance];