02-06-2013 06:53 AM
I want to use WebView, so that I can show the webpage a native app feel. Are there any good examples on the usage of webview.?
I tried the below code:
From my Main UI, I click a button, on click of the button I call the below code, but still my view is in the main UI only..
WebView *view = new WebView();
Solved! Go to Solution.
02-06-2013 07:24 AM
You'll need to add it to a page or a container just like other regular controls.
From the docs it seems it should be added to ScrollView to make it scrollable & zoomable.
If you want to show it fullscreen I guess you'll have to create a Sheet, put ScrollView and Container inside of a Sheet then add the WebView to the container. Then create & display the sheet.