Cocos WebView load html String

Cocos WebView load html String
0

hi,

In Cocos WebView i tried to load html string but it doesnt show anything just empty

webView.loadHTMLString("<html><head><title>Page Title</title></head><body>"+
    		"<h1>This is a Heading</h1><p>This is a paragraph.</p></body></html>");

also tried specifying base url but nothing is shown

webView.loadHTMLString("<html><head><title>Page Title</title></head><body>"+
    		"<h1>This is a Heading</h1><p>This is a paragraph.</p></body></html>","www.example.com");

finally its working, didnt checked in mobile, webview doesnt works on desktop browser, but when executed on mobile works properly

How to solve this problem´╝č