ios8.1 simulator http issue

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. 

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 just reboot the simulated device.


本文出自 “phoenixIsland” 博客,请务必保留此出处http://phoenix2012.blog.51cto.com/1799358/1573789

郑重声明:本站内容如果来自互联网及其他传播媒体,其版权均属原媒体及文章作者所有。转载目的在于传递更多信息及用于网络分享,并不代表本站赞同其观点和对其真实性负责,也不构成任何其他建议。