I have a custom UIButton with UILabel added as subview. Button perform given selector only when I touch it about 15points lower of top bound. And when I tap above that area
The following worked for me:
self.navigationController?.isNavigationBarHidden = true