My app has a tab bar, and I have added a large button in the centre of the tab bar. To achieve this I simply create a button and add it to the tab bar as a subview.
The top part of the button goes over the top edge of the tab bar, sitting on top of the tableview. Here is a screen shot.
When I tap the bottom part of the button (the green arrow), it works fine, but if I tap the top part of the button (the red arrow) - the bit that overlays the tableview - the button's action is not triggered and instead the cell under the button is registering a tap.
How can I prevent this?
