I'm working with iOS SDK 6 and 7. I have a UIToolbar that overlays another view—call it "View B"—that has touches*
message handlers for dealing with taps. The toolbar is, of course, full of UIBarButtonItems. When a toolbar button item is enabled, then when I tap it or drag it, View B receives no touch messages, and this is the desired effect. But when a button item is disabled, tapping or dragging it sends a message down "through" the toolbar (as it were) to View B underneath.
How do I ensure that taps over a toolbar are not passed down to underlying views, even when the taps occur over disabled bar button items?