美文网首页
iOS9 支持https

iOS9 支持https

作者: zjunchao | 来源:发表于2016-05-10 10:40 被阅读44次

    在Info.plist中添加NSAppTransportSecurity类型Dictionary。
    在NSAppTransportSecurity下添加NSAllowsArbitraryLoads类型Boolean,值设为YES

    如需要支持文件共享,需要在info.plist 文件中增加
    添加Application supports iTunes file sharing,设置为YES

    相关文章

      网友评论

          本文标题:iOS9 支持https

          本文链接:https://www.haomeiwen.com/subject/mzfyrttx.html