Hi i have navigation item in there is a view which contains two labels i have added userInteractionEnabled for the view inside the navigation element (IBoutleted as navigationView)
navigationView.isUserInteractionEnabled = true
mainTitleClicked = UITapGestureRecognizer(target: self, action: #selector(mainTitleTapped))
self.navigationView.addGestureRecognizer(mainTitleClicked)
This was working in IOS 10 but when i run the same code in xcode 9 ios 11 UI is messed up and gesture is not getting recognised
IOS 10 Version
IOS 11 version
What should i change to make it work on ios 11
Thanks for the help

