0

My application has searchDisplay Controller and a tool bar with Bar button items on it.My problem is that when i tap search button ,search results are shown but my Bar button doesn't respond to click event on ios 7.But the same thing works fine for ios 6.

Bar button works fine when i tap without searching.I understand that bar button is not reactive when my searchDisplay Controller is set active. I am unable to find the reason and need to over come the issue.

sujay
  • 1,845
  • 9
  • 34
  • 55

1 Answers1

0

It's not working as your SearchDisplayController is handling the touch event and as such doesn't pass it through the responder chain, down to the bar view.

You can manually pass the event through so that your bar responds to the touch if required.

Check this out: What's the trick to pass an event to the next responder in the responder chain?

Community
  • 1
  • 1
Woodstock
  • 22,184
  • 15
  • 80
  • 118