[英]Phonegap non-ASCII characters are not allowed outside of literals and identifiers
I am getting this error in my phonegap: 我在phonegap中遇到此错误:
- (BOOL)webView:(UIWebView *)theWebView shouldStartLoadWithRequest:(NSURLRequest *)request navigationType:(UIWebViewNavigationType)navigationType
The error appears to be right after the ")" from "(UIWebViewNavigationType)". 错误似乎就在“(UIWebViewNavigationType)”的“)”之后。 What am I doing wrong here?
我在这里做错了什么?
There is an invisible "Soft hyphen" (U+00AD) character between "(UIWebViewNavigationType)" and "navigationType". 在“(UIWebViewNavigationType)”和“ navigationType”之间有一个不可见的“软连字符”(U + 00AD)字符。 Removing that character should fix the problem.
删除该字符应该可以解决问题。
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.