runloop应用之iOS线程保活

iOS13适配
iOS13更新后对Ai定损、一车一件项目进行适配 做了一下调查

1

禁止通过KVC访问某些私有属性 会引起崩溃
禁止使用上述_placeholderLabel.textColor访问私有属性  排查其他KVC情况
[_textField setValue:self.placeholderColor forKeyPath:@"_placeholderLabel.textColor"];
[searchBar valueForKey:@"_searchField”];

2

模态弹出默认交互改变**控制器Present的时候(页面跳转—从下往山上弹出)
modalPresentationStyle的默认值变了统一在baseViewController或者BaseNavgationController的 
viewDidLoad方法中设置self. modalPresentationStyle = UIModalPresentationFullScreen;

3

排查代码是否用到DeviceToken 重点关注推送  
注意iOS 13 通过[deviceToken description]获取到的内容已经变了

4

从2020年4月开始,所有使⽤ iOS13 SDK 的 App 将必须提供 LaunchScreen,
LaunchImage即将退出历史舞台。LaunchImage去掉   用LaunchScreen.storyboard

5

Dark Mode暗黑模式适配
image.jpeg

6

 UISegmentedControl  默认样式改变   
原本设置选中颜色的 tintColor 已经失效,新增了[selectedSegmentTintColor](https://links.jianshu.com/go?to=https%3A%2F%2Fdeveloper.apple.com%2Fdocumentation%2Fuikit%2Fuisegmentedcontrol%2F3335209-selectedsegmenttintcolor%3Flanguage%3Dobjc) 
属性用以修改选中的颜色。

目前调研的只有这6点后续持续跟踪

你可能感兴趣的:(runloop应用之iOS线程保活)