摘要:
今天发现一个蛋疼的问题,服务端返回的urlString里面有时含有中文,使用[NSURL URLWithString:urlString]生成URL对象时,iOS客户端不能正确进行网络请求,网上找到的URLEncode方法又不能完全解决问题.方法1:NSString* encodedString =... 阅读全文
posted @ 2015-12-08 17:13
开心刘哈哈
阅读(2097)
评论(0)
推荐(0)
摘要:
国家气象局提供的天气预报接口接口地址:http://www.weather.com.cn/data/sk/101010100.htmlhttp://www.weather.com.cn/data/cityinfo/101010100.htmlhttp://m.weather.com.cn/data/... 阅读全文
posted @ 2015-12-08 10:52
开心刘哈哈
阅读(192)
评论(0)
推荐(0)
摘要:
#import "ViewController.h"#import "DrawView.h"@interface ViewController ()@end@implementation ViewController-(void)loadView{ self.view = [[DrawView... 阅读全文
posted @ 2015-12-08 08:30
开心刘哈哈
阅读(190)
评论(0)
推荐(0)
摘要:
- (void)viewDidLoad { [super viewDidLoad]; tabBar = [[UITabBarController alloc]init]; tabBar.tabBar.backgroundImage = [UIImage imageNamed:@"... 阅读全文
posted @ 2015-12-08 08:24
开心刘哈哈
阅读(213)
评论(0)
推荐(0)

浙公网安备 33010602011771号