简体   繁体   中英

Phonegap non-ASCII characters are not allowed outside of literals and identifiers

I am getting this error in my phonegap:

- (BOOL)webView:(UIWebView *)theWebView shouldStartLoadWithRequest:(NSURLRequest *)request navigationType:(UIWebViewNavigationType)­navigationType

The error appears to be right after the ")" from "(UIWebViewNavigationType)". What am I doing wrong here?

There is an invisible "Soft hyphen" (U+00AD) character between "(UIWebViewNavigationType)" and "navigationType". Removing that character should fix the problem.

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM