Demo entry 6623419

111

   

Submitted by 2 on Jun 08, 2017 at 03:49
Language: Objective-C. Code size: 926 Bytes.

int main(int argc, char * argv[]) {
    @autoreleasepool {
        [AppTrack setShowLog:true];
        [AppTrack setOzAppVer:[NSString stringWithFormat:@"version1.0"]];
        NSString *ozChannel=[NSString stringWithFormat:@"%@",@"yingyongbao"];
        [AppTrack setOzChannel:ozChannel];
        [AppTrack setOzSysParamKV:@"用户名:" andValue:@"xiaowanzi"];
        [AppTrack setOzSysParamKV:@"密码:" andValue:@"xwz0608"];
        [AppTrack setOpenIntervalSecond:30];
        [AppTrack enableAutoMonitor];
        [AppTrack disableAutoLocation];
        double a=0.00;
        [AppTrack setLocationAccuracy:a];
        //设置IDFA
        NSString *adi = [[[ASIdentifierManager sharedManager] advertisingIdentifier] UUIDString];
        [AppTrack setIDFA:adi];
        [AppTrack countAppOpen];
        return UIApplicationMain(argc, argv, nil, NSStringFromClass([AppDelegate class]));
        
        
    }
}

This snippet took 0.00 seconds to highlight.

Back to the Entry List or Home.

Delete this entry (admin only).