ios编程出现"The resource could not be loaded because the App Transport Security policy requires the use"
原因:iOS9以后,苹果把原http协议改成了https协议,所以不能直接在http协议下GET/POST1.在Xcode里选中info.plist,点击右边的information Property List 后边的加号2.写入App Transport Security Settings然后回车,先点击左侧展开箭头,再点右侧加号,Allow Arbitrary Lo