Last active
December 16, 2015 11:48
-
-
Save Hokila/5429657 to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
NSString* urlStr = @"https://maps.google.com.tw/maps?q=加油站"; | |
NSURL *url = [NSURL URLWithString:[urlStr stringByAddingPercentEscapesUsingEncoding:NSUTF8StringEncoding]]; | |
NSURLRequest *request = [NSURLRequest requestWithURL:url]; | |
[self.gasWebView loadRequest:request]; |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment