摘要:        
-(void)get { NSString *urlStr = @"http://120.25.226.186:32812/login2?username=小码哥&pwd=520it&type=JSON"; NSLog(@"转码前: %@",urlStr); //中文转码处理 urlStr = [urlStr stringByAdd...    阅读全文
        
            posted @ 2016-11-03 20:05
Sivek_lin
阅读(1997)
评论(0)
推荐(0)
        
        
            
        
        
摘要:        
下面代码有同步、异步、使用代理(异步)三种方法发送GET请求,其中使用代理方法有三种设置代理方式 发送post请求    阅读全文
        
            posted @ 2016-11-03 18:14
Sivek_lin
阅读(249)
评论(0)
推荐(0)
        
        
            
        
        
摘要:        
[self.imageView performSelectorOnMainThread:@selector(setImage:) withObject:image waitUntilDone:YES];    阅读全文
        
            posted @ 2016-11-03 11:51
Sivek_lin
阅读(402)
评论(0)
推荐(0)
        
        
            
        
        
摘要:        
以下为第二种方式:    阅读全文
        
            posted @ 2016-11-03 11:36
Sivek_lin
阅读(180)
评论(0)
推荐(0)
        
        
            
        
        
摘要:        
报错形式如下: 在info.plist文件中添加下面内容:    阅读全文
        
            posted @ 2016-11-03 11:11
Sivek_lin
阅读(128)
评论(0)
推荐(0)
        
        
 
                    
                 浙公网安备 33010602011771号
浙公网安备 33010602011771号