You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
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.
The text was updated successfully, but these errors were encountered:
For my project it's really critical issue. I have UI freezing at first time, when I'm trying to open controller.
I tried to create symbolic breakpoint with symbol: "UITableViewAlertForLayoutOutsideViewHierarchy" and found a place, where problem is located.
In my case it's occurs in KYDrawerController at 239 line (_containerView.layoutIfNeeded()).
The reason why it's happened - that layoutIfNeeded calls too early.
I would like to ask someone to participate with solving inside library.
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.
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.
The text was updated successfully, but these errors were encountered: