Property type 'id' is incompatible with type 'id _Nullable' inherited from 'UITabBar'时间:2023-03-09 13:10:00 iOS报错:Property type 'id' is incompatible with type 'id _Nullable' inherited from 'UITabBar' 如图: 可能原因:由于自定义tabBar,没有继承系统UITabBarDelegate造成的 解决办法: 第一步: 第二步: