eggswift / ESTabBarController

:octocat: ESTabBarController is a Swift model for customize UI, badge and adding animation to tabbar items. Support lottie!
MIT License
5.17k stars 578 forks source link

iOS 13 warning #214

Closed HelgaSokolova closed 3 years ago

HelgaSokolova commented 4 years ago

I get this strange warning running on the XCode11.0 while it wasn't shown at previous version of XCode.

[TableView] Warning once only: UITableView was told to layout its visible cells and other contents without being in the view hierarchy (the table view or one of its superviews has not been added to a window). This may cause bugs by forcing views inside the table view to load and perform layout without accurate information (e.g. table view bounds, trait collection, layout margins, safe area insets, etc), and will also cause unnecessary performance overhead due to extra layout passes. Make a symbolic breakpoint at UITableViewAlertForLayoutOutsideViewHierarchy to catch this in the debugger and see what caused this to occur, so you can avoid this action altogether if possible, or defer it until the table view has been added to a window. Table view: <UITableView: 0x7fd26205bc00; frame = (0 44; 414 852); clipsToBounds = YES; autoresize = W+H; gestureRecognizers = <NSArray: 0x60000038d2c0>; layer = <CALayer: 0x600000d40700>; contentOffset: {0, 0}; contentSize: {414, 0}; adjustedContentInset: {0, 0, 20, 0}; dataSource: <RxCocoa.RxTableViewDataSourceProxy: 0x600002921f80>>

eggswift commented 3 years ago

跟tabbar应该没有关系