I am customizing the navigation bar using UIView and UIButtons instead of UINavigationBar .
But my UIButtons in the navigation bar does not react sensitively. A.
I need to touch almost the center of UIButton to click.
It does not respond if I touch the edge of UIButton .
But the buttons on a regular UINavigationBar can be tapped by clicking on the edge of the button.
Even by pressing a button, it can be pressed.
The shutter button or Option button in the camera application can also be activated by touching the edge or outside the buttons.
How can I implement these easily customizable buttons in my application?
js_
source share