摘要:
1、引入两个jsonkit的相关文件。2、发送到网络请求,然后得到返回结果数据,并进行反序列化。NSURLRequest * request = [NSURLRequest requestWithURL:[NSURL URLWithString:@"http://www.imdida.org/json/city/ip"]]; NSURLResponse * response; NSError *error; NSData * jsonData = [NSURLConnection sendSynchronousRequest:request returningRespons 阅读全文
posted @ 2012-07-09 23:04
xianyuan
阅读(436)
评论(0)
推荐(0)

浙公网安备 33010602011771号