1.首先打开项目的info.plist
2.在右侧增加增加Key为 App Transport Security Settings,Type为 Dictionary
在下级增加Key为 Allow Arbitrary Loads,Type为 Boolean,Value为 YES
A PAGE FROM THE JOURNAL
iOS开发>允许HTTP请求

YOU REACHED THE END.感谢阅读,下一个灵感见。
A PAGE FROM THE JOURNAL

1.首先打开项目的info.plist
2.在右侧增加增加Key为 App Transport Security Settings,Type为 Dictionary
在下级增加Key为 Allow Arbitrary Loads,Type为 Boolean,Value为 YES
YOU REACHED THE END.感谢阅读,下一个灵感见。