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'm not sure if this error is unique to our apps use of collectionKit with multiple threads and Scenekit or an issue in the project, I don't have time to fully research it at the moment.
If someone with a more vanilla implementation is getting this error it is an issue.
"Main Thread Checker: UI API called on a background thread: -[UIScrollView setNeedsLayout]"
It occurs on line 83 of collectionView.Swift
public func setNeedsReload() {
needsReload = true
setNeedsLayout()
}
I'm not sure if this error is unique to our apps use of collectionKit with multiple threads and Scenekit or an issue in the project, I don't have time to fully research it at the moment.
If someone with a more vanilla implementation is getting this error it is an issue.
"Main Thread Checker: UI API called on a background thread: -[UIScrollView setNeedsLayout]"
It occurs on line 83 of collectionView.Swift
public func setNeedsReload() {
needsReload = true
setNeedsLayout()
}
Easily fixed by going back to the main thread.
public func setNeedsReload() {
needsReload = true
DispatchQueue.main.async {
self.setNeedsLayout()
}
}
The text was updated successfully, but these errors were encountered: