ios_google_places_autocomplete icon indicating copy to clipboard operation
ios_google_places_autocomplete copied to clipboard

Replaced code deprecated in iOS 9.0

Open ajsmithsw opened this issue 9 years ago • 1 comments

CFURLCreateStringsByAddingPercentEscapes() function was deprecated in iOS 9.0, and Xcode was throwing up a warning each time I built my app. I updated the code in escape(string: String) -> String function to use NSString().stringByAddingPercentEncodingWithAllowedCharacters() instead. Autocomplete still works correctly and the warning has disappeared.

Massive thanks to watsonbox for publishing this code originally!

ajsmithsw avatar Feb 22 '16 19:02 ajsmithsw

Well, that's weird. Why did the Travis-CI fail?

ajsmithsw avatar Feb 22 '16 19:02 ajsmithsw