iOS9新特性及适配教程

  1. iOS9网络适配_ATS:改用更安全的HTTPS(见Demo1)iOS9新特性_更灵活的后台定位(见Demo2)(网址:https://github.com/ChenYilong/iOS9AdaptationTips)
    1. WHAT(什么是SSL/TLS?跟HTTP和HTTPS有什么关系)
    2. WHY(以前的HTTP不是也能用吗?为什么要用SSL/TLS?Apple是不是又在反人类?)
    3. HOW(如何适配?---弱弱地问下:加班要多久?)
      1. 第1种情况:HTTPS Only (只有HTTPS,所有情况下都使用ATS)
      2. 第2种情况:Mix & Match(混合)
      3. 第3种情况:Opt Out(禁用ATS)
      4. 第4种情况:Opt Out With Exceptions(除特殊情况外,都不使用ATS)
      5. Certificate Transparency
    4. Q-A
  2. 更灵活的后台定位(网址:https://github.com/ChenYilong/iOS9AdaptationTips)
  3. 企业级分发Bitcode(网址:https://github.com/ChenYilong/iOS9AdaptationTips)
    1. iOS9以后,企业级分发ipa包将遭到与Mac上dmg安装包一样的待遇:默认不能安装,也不再出现“信任按钮”
    2. iOS9以后,企业分发时可能存在:下载的ipa包与网页两者的 bundle ID 无法匹配而导致下载失败的情况
  4. iOS9 URL Scheme 适配_引入白名单概念(见Demo3)iPad适配Slide Over 和 Split View(网址:https://github.com/ChenYilong/iOS9AdaptationTips)
    1. 常见 URL Scheme
    2. Q-A
  5. 字体间隙变大导致 UI 显示异常(网址:https://github.com/ChenYilong/iOS9AdaptationTips)
  6. 升级 Xcode7 后的崩溃与警告Demo5、Demo6--- 搜索 API(网址:https://github.com/ChenYilong/iOS9AdaptationTips)
    1. iOS9 下使用 Masonry 会引起崩溃的一种情况
    2. Xcode 升级后,旧的状态栏的样式设置方式会引起警告
      1. Demo4---navigationController状态栏样式新的设置方法
    3. Xcode7 在 debug 状态下也生成 .dSYM 文件引起的警告
    4. Xcode7 无法使用 8.x 系统的设备调试,一运行就报错 there is an intenal API error
    5. 使用了 HTML 的 iframe 元素可能导致无法从 Safari 跳转至 App
    6. iOS9锁屏控制台会打印警告
    7. Xcode7 上传应用时提示 ITMS-90535 Unable to publish iOS app with xxx SDK 的问题
  7. iOS国际化问题:当前设备语言字符串返回有变化(网址:https://github.com/ChenYilong/iOS9AdaptationTips)
原文地址:https://www.cnblogs.com/zhaohanjun/p/4845494.html