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
{{ message }}
This repository has been archived by the owner on Nov 4, 2022. It is now read-only.
Describe the bug
I have setup a project to support portrait and landscape left/right device orientation. When displaying an ASCollectionView in may app, then rotating the device to any landscape orientation and then back to portrait the app crashes with the following error (I'll attach a full stack trace at the bottom). As far as I can tell from the debug navigator the crash occurs in line 72 of AS_UICollectionView.swift ("view.frame = CGRect(origin: view.frame.origin, size: size)")
*** Assertion failure in -[_UIRTree insertFrame:forIndex:], _UIRTree.mm:419
2020-12-26 23:16:29.141941+0100 MyApp[23565:1258540] *** Assertion failure in -[_UIRTree insertFrame:forIndex:], _UIRTree.mm:419
2020-12-26 23:16:29.155303+0100 MyApp[23565:1258540] *** Terminating app due to uncaught exception 'NSInternalInconsistencyException', reason: 'Invalid parameter not satisfying: !CGRectIsNull(frame)'
To Reproduce
A similar crash occurs when rotating the App Store Demo of the ASCollectionViewDemo app.
Expected behaviour
I would expect the app not to crash
Describe the bug
I have setup a project to support portrait and landscape left/right device orientation. When displaying an ASCollectionView in may app, then rotating the device to any landscape orientation and then back to portrait the app crashes with the following error (I'll attach a full stack trace at the bottom). As far as I can tell from the debug navigator the crash occurs in line 72 of AS_UICollectionView.swift ("view.frame = CGRect(origin: view.frame.origin, size: size)")
To Reproduce
A similar crash occurs when rotating the App Store Demo of the ASCollectionViewDemo app.
Expected behaviour
I would expect the app not to crash
Xcode Version:
Version 12.3 (12C33)
Simulator, Device, Both?
Both
Stack Trace
The text was updated successfully, but these errors were encountered: