I used this tutorial to attempt to make a triple split view (kinda like apple mail) and ran into an issue when adding a UISearchController to the middle view.
everything loads fine and works on all size devices but when you rotate the device the application crashes. The following is output
2019-02-25 18:26:49.304360-0500 MYAPP[16234:1038669] *** Assertion failure in -[UITableView _addScrollViewScrollObserver:], /BuildRoot/Library/Caches/com.apple.xbs/Sources/UIKitCore_Sim/UIKit-3698.93.8/UIScrollView.m:9243
2019-02-25 18:26:49.319306-0500 MYAPP[16234:1038669] *** Terminating app due to uncaught exception ‘NSInternalInconsistencyException’, reason: 'ERROR: UIScrollView does not support multiple observers implementing _scrollViewWillEndDraggingWithVelocity:targetContentOffset:'
I am also using a different view for each section not reusing one like the guide.
Not sure how to solve this.
Any help would be great.