inheri专题

Property type 'idtabBarDelegate' is incompatible with type 'idUITabBarDelegate _Nullable' inheri...

iOS报错:Property type 'id' is incompatible with type 'id _Nullable' inherited from 'UITabBar' 如图: 可能原因:由于自定义tabBar,没有继承系统UITabBarDelegate造成的 解决办法: 第一步: 第二步: 转载于:https://www.cnblogs.com/Jmailbox/p