-
Notifications
You must be signed in to change notification settings - Fork 156
Description
Hi, first of all, thanks for the beautiful library.
I have an app that has a menu as a left drawer and other as regular screens so that I used your library. It is working as expected. The problem is it is throwing an exception regarding the layout of UITableView only once per when app is run. The exception is this.
[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: 0x7ff62983c400; frame = (0 0; 280 783); clipsToBounds = YES; autoresize = RM+BM; gestureRecognizers = <NSArray: 0x6000008368b0>; layer = <CALayer: 0x600000638260>; contentOffset: {0, 0}; contentSize: {280, 500}; adjustedContentInset: {0, 0, 0, 0}; dataSource: <AppName.MenuViewController: 0x7ff627c2ab60>>
I know it doesn't cause any critical issues but I just don't want to see that warning. Please have a look at this issue.