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
I get this warning when showing an AlertView with a textfield:
[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.
The warning is triggered in AlertView.swift, createScrollViewConstraints() by self.scrollView.layoutIfNeeded()
I don't think I was getting this warning prior to iOS 15. The alert and textfield still work as expected. No other alerts receive this warning or hit the specified symbolic breakpoint.
Thanks!
The text was updated successfully, but these errors were encountered:
Hello,
I get this warning when showing an AlertView with a textfield:
[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.
The warning is triggered in AlertView.swift, createScrollViewConstraints() by self.scrollView.layoutIfNeeded()
I don't think I was getting this warning prior to iOS 15. The alert and textfield still work as expected. No other alerts receive this warning or hit the specified symbolic breakpoint.
Thanks!
The text was updated successfully, but these errors were encountered: