I was following MJ's sina weibo project video to make an app of weibo. however I can't access internet from the weibo app or safari. so google it and got the right solution which is so easy. guess what, just to restart the simulator.
创新互联建站专注为客户提供全方位的互联网综合服务,包含不限于成都网站设计、网站建设、外贸网站建设、鼎城网络推广、小程序制作、鼎城网络营销、鼎城企业策划、鼎城品牌公关、搜索引擎seo、人物专访、企业宣传片、企业代运营等,从售前售中售后,我们都将竭诚为您服务,您的肯定,是我们最大的嘉奖;创新互联建站为所有大学生创业者提供鼎城建站搭建服务,24小时服务热线:18980820575,官方网址:www.cdcxhl.com
http://stackoverflow.com/questions/25654679/cant-use-http-in-ios-8-simulator
solution from apple's engineer:
There is a known issue whereby changes in the host's network configuration (changing wireless networks, changing from wireless to wired, etc) will result in the simulated runtime appearing to loose network connectivity for some cases. The workaround is to justreboot the simulated device.
分享文章:ios8.1simulatorhttpissue
链接URL:https://www.cdcxhl.com/article40/iecgeo.html
成都网站建设公司_创新互联,为您提供Google、企业网站制作、网站导航、全网营销推广、企业建站、定制网站
声明:本网站发布的内容(图片、视频和文字)以用户投稿、用户转载内容为主,如果涉及侵权请尽快告知,我们将会在第一时间删除。文章观点不代表本网站立场,如需处理请联系客服。电话:028-86922220;邮箱:631063699@qq.com。内容未经允许不得转载,或转载时需注明来源: 创新互联