01 2015 档案
摘要:1. 开启AppDelegate.h,并加入如下代码 1 #import 2 3 @interface AppDelegate : UIResponder 4 { 5 UITabBarController* tabBarViewC...
阅读全文
摘要:如何通过URL获取json数据第一种,利用AFJSONRequestOperation,官方网站上给的例子: NSString *str=[NSString stringWithFormat:@"https://alpha-api.app.net/stream/0/posts/stream/glo...
阅读全文
摘要:1 // 1、同步GET请求 2 3 // 第一步,创建URL 4 NSURL *url = [NSURL URLWithString:@"http://api.hudong.com/iphonexml.do?type=focus-c"]; 5 6 // ...
阅读全文

浙公网安备 33010602011771号