{"action":"created","issue":{"url":"https://api.github.com/repos/bang590/JSPatch/issues/670","repository_url":"https://api.github.com/repos/bang590/JSPatch","labels_url":"https://api.github.com/repos/bang590/JSPatch/issues/670/labels{/name}","comments_url":"https://api.github.com/repos/bang590/JSPatch/issues/670/comments","events_url":"https://api.github.com/repos/bang590/JSPatch/issues/670/events","html_url":"https://github.com/bang590/JSPatch/issues/670","id":196571410,"number":670,"title":"在 JSPatch 里第一次初始化 UIWebView，导致页面乱码","user":{"login":"xiang2743","id":7495623,"avatar_url":"https://avatars.githubusercontent.com/u/7495623?v=3","gravatar_id":"","url":"https://api.github.com/users/xiang2743","html_url":"https://github.com/xiang2743","followers_url":"https://api.github.com/users/xiang2743/followers","following_url":"https://api.github.com/users/xiang2743/following{/other_user}","gists_url":"https://api.github.com/users/xiang2743/gists{/gist_id}","starred_url":"https://api.github.com/users/xiang2743/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/xiang2743/subscriptions","organizations_url":"https://api.github.com/users/xiang2743/orgs","repos_url":"https://api.github.com/users/xiang2743/repos","events_url":"https://api.github.com/users/xiang2743/events{/privacy}","received_events_url":"https://api.github.com/users/xiang2743/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":1,"created_at":"2016-12-20T02:29:17Z","updated_at":"2016-12-20T02:49:13Z","closed_at":null,"body":"在UIWebView的使用中，提到：\r\n“JSPatch 和 UIWebView 都使用了 JavaScriptCore，在 JSPatch 里第一次初始化 UIWebView (在原生 OC 代码没有初始化过 UIWebView)，就会出现 JavaScriptCore 冲突的问题，导致意想不到的结果。”\r\n\r\n作者建议 使用 performSelectorInOC 接口，果然，页面不再乱码。\r\n\r\n知其然不知其所以然，能否给个更深入的分析，为什么 “在 JSPatch 里第一次初始化 UIWebView ”，会导致意想不到的结果？"},"comment":{"url":"https://api.github.com/repos/bang590/JSPatch/issues/comments/268140055","html_url":"https://github.com/bang590/JSPatch/issues/670#issuecomment-268140055","issue_url":"https://api.github.com/repos/bang590/JSPatch/issues/670","id":268140055,"user":{"login":"xiang2743","id":7495623,"avatar_url":"https://avatars.githubusercontent.com/u/7495623?v=3","gravatar_id":"","url":"https://api.github.com/users/xiang2743","html_url":"https://github.com/xiang2743","followers_url":"https://api.github.com/users/xiang2743/followers","following_url":"https://api.github.com/users/xiang2743/following{/other_user}","gists_url":"https://api.github.com/users/xiang2743/gists{/gist_id}","starred_url":"https://api.github.com/users/xiang2743/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/xiang2743/subscriptions","organizations_url":"https://api.github.com/users/xiang2743/orgs","repos_url":"https://api.github.com/users/xiang2743/repos","events_url":"https://api.github.com/users/xiang2743/events{/privacy}","received_events_url":"https://api.github.com/users/xiang2743/received_events","type":"User","site_admin":false},"created_at":"2016-12-20T02:49:13Z","updated_at":"2016-12-20T02:49:13Z","body":"@bang590 "}}
{"actor":{"display_login":"xiang2743"}}