like below fixes the issue The target should be self not self.scrollView unless the target selector is in a subclass of UIScrollView. It's crashing because on tap it's attempting to call a your -singleTapGestureCaptured: method on UIScrollView, instead of on your UIViewController subclass.
UITapGestureRecognizer won't work in UIScrollView
By : Dex24
Date : March 29 2020, 07:55 AM
may help you . As discussed here The dummyView was causing problems.