美文网首页
Warning once only: UITableView w

Warning once only: UITableView w

作者: iOS_我更专业 | 来源:发表于2021-07-27 20:32 被阅读0次

[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: 0x7fbdb7838a00; frame = (0 58; 414 263.5); clipsToBounds = YES; gestureRecognizers = <NSArray: 0x6000022ed5f0>; layer = <CALayer: 0x600002c14760>; contentOffset: {0, 0}; contentSize: {414, 132}; adjustedContentInset: {0, 0, 0, 0}; dataSource: <QLLive.LVLiveBannedAlertView: 0x7fbdb710f690; frame = (0 0; 414 355.264); layer = <CALayer: 0x600002c4cdc0>>>

哪位大神可以解答一下,我延迟加载解决了

相关文章

网友评论

      本文标题:Warning once only: UITableView w

      本文链接:https://www.haomeiwen.com/subject/faaomltx.html