I have seen this answer
https://stackoverflow.com/a/9243472/563381
And while it works well visual as soon as you set the mask on the Navigation bar’s layer it no longer responds to touches… So the back button that appears on the bar can’t be clicked. Any solution to cause touches to go through a CALAyer? I didnt think CALayer’s blocked touches or that a mask would ever block touches.
Well, I really don’t know why CALayer blocks touches and this sounds odd to me…
The way I round corners of UINavigationBar consists in putting 2 UIImageView (10×10 pixels) in the corners and add 2 images to them. These images work as a mask, without blocking touches. If you use antialiasing to draw your images, the look is perfect.