19567

Mapview not scrollable & touchable with UISearchDisplayController in iOS 7

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.

<img src="https://i.stack.imgur.com/qiXlI.png" alt="enter image description here">

Thanks in advance

Answer1:

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..

Recommend

  • wrong item changes in recyclerview
  • How to expand parent div to account for child's overflow?
  • How to add the custom button on google's(device) native application in android?
  • change search magnifying glass to UIActivityIndicatorView
  • insert radio value multiple data codeigniter in database to one row?
  • Universal Image Loader reuse images
  • C# List of Panels
  • Blackberry 6: how to detect a long click on track pad?
  • Facebook iOS SDK Not Calling Completion Handler
  • Jenkins: FATAL: Could not initialize class hudson.util.ProcessTree$UnixReflection
  • Thread safety of a fluent like class using clone() and non final fields
  • WPF - CanExecute dosn't fire when raising Commands from a UserControl
  • d3 v4 drag and drop with TypeScript
  • Custom Tabgroup Appcelerator
  • JQuery Internet Explorer and ajaxstop
  • Highlight one bar in a series in highcharts?
  • Lost migrations and Azure database is now out of sync
  • Exchange data b/w iOS devices using Bluetooth 4.0
  • Is there any way to access browser form field suggestions from JavaScript?
  • Android screen density dpi vs ppi
  • Dynamically accessing properties of knockoutjs observable array
  • Align navbar back button on right side
  • Opengl-es onTouchEvents problem or a draw problem? [closed]
  • JavaScriptCore crash on iOS9
  • script to move all files from one location to another location
  • WinForms: two way TextBox problem
  • Can I make an Android app that runs a web view in Chrome 39?
  • 'TypeError' while using NSGA2 to solve Multi-objective prob. from pyopt-sparse in OpenMDAO
  • R: gsub and capture
  • jqPlot EnhancedLegendRenderer plugin does not toggle series for Pie charts
  • Comma separated Values
  • How get height of the a view with gone visibility and height defined as wrap_content in xml?
  • -fvisibility=hidden not passed by compiler for Debug builds
  • Turn off referential integrity in Derby? is it possible?
  • Linking SubReports Without LinkChild/LinkMaster
  • Authorize attributes not working in MVC 4
  • Busy indicator not showing up in wpf window [duplicate]
  • Python/Django TangoWithDjango Models and Databases
  • Net Present Value in Excel for Grouped Recurring CF
  • How to load view controller without button in storyboard?