小记录

 [NSObjectcancelPreviousPerformRequestsWithTarget:selfselector:@selector(chage)object:nil]; 取消执行方法



获取Appstore上架应用信息

  [[AFOSCClient sharedClient] postPath:@"http://itunes.apple.com/lookup?id=671726974" parameters:nil success:^(AFHTTPRequestOperation *operation, id responseObject) {

        NSString *json=operation.responseString;

        NSDictionary * JsonDict = [json dataUsingEncoding:NSUTF8StringEncoding].objectFromJSONData;

        NSLog(@"JsonDict=%@",JsonDict);

        

    } failure:^(AFHTTPRequestOperation *operation, NSError *error) {

        ;

    }];


你可能感兴趣的:(IOS之区别)