-
Notifications
You must be signed in to change notification settings - Fork 1.3k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
ASTableNode + Multiline text + automaticallyAdjustsScrollViewInsets + device rotation = crash #70
Comments
has anyone got updates on this issue? I am evaluating whether my team could use Texture to develop a new table view design (we've been using AutoLayout), but this reproducible crash worries me quite a bit. In my case, I was using Stack trace looks like (always an index +1 of bound):
|
@jaclync @nguyenhuy if it possible, check this issue, please |
I get this exact same issue. Any help would be greatly appreciated. |
An interesting observation from playing with |
@jaclync there is some dependence between this crash and UINavigationViewController |
I have just encountered the same issue. I am also using multiline
|
Has anyone got any updates regarding this? PS: I downgraded to 2.2 and the crash doesn't happen anymore. |
It seems working fine in 2.4 (at least on my machine) Can anybody confirm that there's no problem anymore? |
@dymv confirmed fixed for me as well. Thank you @nguyenhuy 😄 |
Awesome. Thanks everyone! |
Hi guys!
So found some problem.
Please check the test project below.
Go to "multiline" screen try to rotate your device/simulator to different orientation and back and you will get crash with:
"*** -[__NSArrayM objectAtIndex:]: index 4 beyond bounds [0 .. 3]'"
The problem is somehow related to automaticallyAdjustsScrollViewInsets flag and ASInsetLayoutSpec inside cell.
Prj: https://github.com/stephenkopylov/TextureTableViewOrientation
The text was updated successfully, but these errors were encountered: