Tourist2[3930:314874] App Transport Security has blocked a cleartext HTTP (http://) resource load since it is insecure. Temporary exceptions can be configured via your app's Info.plist file.
好伤心,发现贴了图片居然没有显示。。
1、首先在左边的Project Navigator中,点击工程名,在右边的targets中选择第一个,然后在右边选择
Info(一般是第四个)
找到Bundle name,在其那里右键,选择Add Row,然后在新建行的key中选择App Transport Security Settings,然后在其里边新建一行,选择Allow Arbitrary Loads,设置其Value 为YES.
OK,可以访问网络了。