UITapGestureRecognizer not working on custom UIView class
问题 I've made a custom view class. I'm initializing it in my view controller class. I've enabled user interaction then also it's not working. I've searched it in similar questions but most of them say to enable user interaction. Here's the code I've written. @interface ProfileCreatorViewController (){ SectionTitleView *ProfileTitle; CGRect mainFrame; } @end @implementation ProfileCreatorViewController - (void)viewDidLoad { [super viewDidLoad]; mainFrame = CGRectMake(self.view.frame.origin.x, self