>  Q&A  >  본문

objective-c - iOS webview怎么添加localStorage?

iOS webview怎么添加localStorage?

现在这么挂的没有挂上

[myWebView stringByEvaluatingJavaScriptFromString:[NSString stringWithFormat:@"window.localStorage.setItem(%@,%@)", @"app-jump-url", @"/mine"]];
PHP中文网PHP中文网2741일 전582

모든 응답(1)나는 대답할 것이다

  • 阿神

    阿神2017-04-17 18:02:02

    내 프로젝트는 사용자 에이전트를 수정하여 구별되는 App 측입니다

    회신하다
    0
  • 취소회신하다