Open colincameron opened 6 years ago
@colincameron When I ran into this I had to disable both scroll indicators in Storyboard, so it's good that you found a solution for keeping the indicators. Would you like to add your solution to the repo in a pull request?
Using an existing app that makes heavy use of table views, I was getting a crash on launch after
viewDidLoad
is called but before anything appears on screen. Here's the output:I removed all table views and scroll views from the main storyboard and was still seeing this error, even when there wasn't a single instance of UIScrollView in the view hierarchy.
I've managed to work around the issue by swizzling the method
-[UIScrollView _updateScrollerImpsForcingReplacement:]
, which doesn't appear to break anything, and the app launches correctly. This also seems to allow displaying scroll indicators.Unfortunately without any public documentation on
UIScrollerImp
or-[UIScrollView _updateScrollerImpsForcingReplacement:]
I can't go any further on finding a solution.