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
viewsInStackView at this stage are 0, while the maxNumSubviews are -1. Hence the crash.
This is only seen on some devices, not all. Hence it is difficult to spot or reproduce. I have seen this on some iPhone 5s, iPhone SE and iPod Touch (7th Gen) so far.
Need a resolution really soon as many of my users can't use my app anymore.
The text was updated successfully, but these errors were encountered:
Thanks. This works. I can't be 100% sure because I personally can't reproduce the error all the time - I was able to only reproduce it on an iPod touch simulator and it seems to have fixed the issue. Once you update the Master, I'll update my app and keep you posted - unless, you have a way I could reproduce the error?
When running my app on smaller screens (iPod, iPhone SE, etc.) the pod crashes in TimelineTableViewCell.swift at line 101 with the fatal error:
This is the code starting from line 101.
let views = viewsInStackView.count <= maxNumSubviews ? viewsInStackView : Array(viewsInStackView[0..<maxNumSubviews]) views.forEach { view in view.translatesAutoresizingMaskIntoConstraints = false view.addConstraint(NSLayoutConstraint(item: view, attribute: NSLayoutConstraint.Attribute.width, relatedBy: NSLayoutConstraint.Relation.equal, toItem: view, attribute: NSLayoutConstraint.Attribute.height, multiplier: 1, constant: 0)) view.contentMode = .scaleAspectFill view.clipsToBounds = true stackView.addArrangedSubview(view) }
viewsInStackView at this stage are 0, while the maxNumSubviews are -1. Hence the crash.
This is only seen on some devices, not all. Hence it is difficult to spot or reproduce. I have seen this on some iPhone 5s, iPhone SE and iPod Touch (7th Gen) so far.
Need a resolution really soon as many of my users can't use my app anymore.
The text was updated successfully, but these errors were encountered: