mklocalsearchrequest

Batch Geocode MKLocalSearchResponse

孤人 提交于 2019-12-24 01:33:06
问题 I have a search setup that displays the response of a MKLocalSearchRequest in UITableVIew I want to clean up all the responses from the response of each search. Here is my shot at accomplishing this so far, inspired by this post Multiple Locations on Map (using MKMapItem and CLGeocoder) Here is my code. @interface ViewController () <UISearchBarDelegate,UISearchDisplayDelegate,UITextFieldDelegate> @property (nonatomic, strong) UISearchDisplayController *searchController; @property (nonatomic,

MKLocalSearch doesn't provide the same results as search in native Apple Maps app

倾然丶 夕夏残阳落幕 提交于 2019-12-05 00:38:19
问题 When I search in MKLocalSearch and Apple Maps using the same string I get different results, usually in Apple Maps I get a lot of different locations but in MKLocalSearch I get only one. Apple Maps: My app using MKLocalSearch: In both cases I was searching being in Berlin and in MKLocalSearchRequest I set .region property of Berlin region Which services does Apple use for their location search? 回答1: After doing some searching I've investigated that MKLocalSearchCompleter is the class that

MKLocalSearch doesn't provide the same results as search in native Apple Maps app

隐身守侯 提交于 2019-12-03 15:34:41
When I search in MKLocalSearch and Apple Maps using the same string I get different results, usually in Apple Maps I get a lot of different locations but in MKLocalSearch I get only one. Apple Maps: My app using MKLocalSearch: In both cases I was searching being in Berlin and in MKLocalSearchRequest I set .region property of Berlin region Which services does Apple use for their location search? After doing some searching I've investigated that MKLocalSearchCompleter is the class that Apple uses in their Map app. 来源: https://stackoverflow.com/questions/43249382/mklocalsearch-doesnt-provide-the