2

I am using UISearchDisplaycontroller.. In my viewcontroller user can search place aftert i have update mapview and setting searchtableview hidden propety is YES.

In iOS 7 I am not able to scroll and get touch event on mapview. But in iOS 6 it will work..

After pressing cancel button i am able to scroll and touch event on map view. You can see below screenshot.

enter image description here

Thanks in advance

the1pawan
  • 1,194
  • 9
  • 26

1 Answers1

3

I could solve my problem with help of another question Here

by setting self.searchDisplayController.searchResultsTableView.superview.hidden = YES

it worked for me..

View hierarchy for iOS 7 is changed..

Community
  • 1
  • 1
the1pawan
  • 1,194
  • 9
  • 26
  • thanks very much, solved my problem. [link](http://stackoverflow.com/questions/19341589/uiscrollview-frozen-when-uisearchdisplaycontroller-is-active) – Karl Yu Oct 14 '13 at 06:45