The resource could not be loaded because the App Transport Security policy requires the use of a secure connection.
みたいなエラーが出た時
Info.plistの設定を以下のようにする。
<key>NSAppTransportSecurity</key>
<dict>
<key>NSAllowsArbitraryLoads</key>
<true/>
</dict>
参考
https://qiita.com/nogson/items/38026353e00ac30c8d32
https://qiita.com/peromasamune/items/f5b72c4dbd33b5019611
https://stackoverflow.com/questions/32382541/app-transport-security-exceptions-ios9


