The resource could not be loaded because the App Transport Security policy requires the use of a secure connection

前端 未结 21 2094
醉酒成梦
醉酒成梦 2020-11-22 11:37

I am facing the Problem when I have updated my Xcode to 7.0 or iOS 9.0. Somehow it started giving me the Titled error

\"The resource could not be load

21条回答
  •  暗喜
    暗喜 (楼主)
    2020-11-22 12:20

    I have solved this issue in the case of a self hosted parse-server using a one year signed certificate rather than the option "NSAllowsArbitraryLoads"

    Parse Server as any node.js server presents a public https url that you have to specify. For instance:

    parse-server --appId --masterKey --publicServerURL https://your.public.url/some_nodejs

    Feel free to give a look to my configuration files

提交回复
热议问题