清华大佬耗费三个月吐血整理的几百G的资源,免费分享!....>>>
NSUserDefaults *defaults = [NSUserDefaults standardUserDefaults]; BOOL _isFirst = [defaults boolForKey:@"isFirstIn"]; if (!_isFirst) { //默认开启视野搜索 [[NSUserDefaults standardUserDefaults]setBool:YES forKey:@"isFirstIn"]; [[NSUserDefaults standardUserDefaults] setBool:YES forKey:@"isGetOfflineCityFromNet"]; [[NSUserDefaults standardUserDefaults]synchronize]; [self sclview]; }else { }