1. CNCopyCurrentNetworkInfo iOS 13 支持
https://www.jianshu.com/p/d45a26a60bc7
2. dark mode 适配,可以选择不支持dark模式,最简介
info.plist
这个以废弃
1、如果不想适配深色模式
(1)直接在项目的plist文件中设置
<key>UIUserInterfaceStyle</key> <string>UIUserInterfaceStyleLight</string>
(2)在每个UIViewController或者BaseViewController(如果自己有的话),中设置
if (@available(iOS 13.0, *)){
self.overrideUserInterfaceStyle = UIUserInterfaceStyleLight;
}
3. 不支持dark mode 后,仍然会有一些细节问题
3.1 accessoryType=UITableViewCellAccessoryDisclosureIndicator;时UI异常
3.2 - (void)centralManager:(CBCentralManager*)central didDiscoverPeripheral:(CBPeripheral*)peripheral advertisementData:(NSDictionary*)advertisementData RSSI:(NSNumber*)RSSI
蓝牙广播中的 advertisementData 数据有格式有改变