title: google search places autocomplete specific to country in ios
body: <p>I am working on Google Places AutoComplete Service where i need to filter the places specific to country and found <a href="https://github.com/spoletto/SPGooglePlacesAutocomplete" rel="nofollow">this</a>.</p>
  
  <p>It is working good untill when i pass a parameter components=country:se to filter the autocomplete field its response is REQUEST_DENIED</p>
  
  <pre><code>NSMutableString *url = [NSMutableString stringWithFormat:@"https://maps.googleapis.com/maps/api/place/autocomplete/json?input=%@&amp;components=country:se&amp;sensor=%@&amp;key=%@",
                                                               [input stringByAddingPercentEscapesUsingEncoding:NSUTF8StringEncoding],
                                                               SPBooleanStringForBool(sensor), key];
  </code></pre>
  
  <p>I need the autocomplete to give suggestion specific to country. </p>
  
  <p>Thanks</p>