mkmapview不搜索在搜索栏中写入的所有位置

时间:2013-12-12 13:24:55

标签: ios mkmapview uisearchbar

mkmapview不会搜索所有在搜索栏中写入的地方,例如城市的任何地址......它会显示在自动填充搜索栏和桌面视图中,但是当我点击该地点时,它不会搜索...

https://github.com/spoletto/SPGooglePlacesAutocomplete

请解决我的问题.... enter code here

       {


            // THIS IS NOT THE CODE 
            its just written because of question is not uploaded


            SPGooglePlacesAutocompleteQuery *query = [SPGooglePlacesAutocompleteQuery query];
        query.input = @"185 berry str";
        query.radius = 100.0;
         query.language = @"en";
              query.types = SPPlaceTypeGeocode; // Only return geocoding (address) results.
            query.location = CLLocationCoordinate2DMake(37.76999, -122.44696);
           }

0 个答案:

没有答案