Webview inside a View

Is it possible to host a webview inside a view and have the webview partially take up the UI real estate of the parent view?

I have a requirement from the customer where I must host a webview with a form. And the rest of the view outside of the webview would contain other native buttons to handle other activities.

Can anyone point to me any open source samples or clips of code that would support this design approach?

Hi @sk92129,

Your webView has a frame and a view, so add it as a subview of your controller and set the parameters for layout accordingly as you want it displayed on screen.



This topic was automatically closed after 166 days. New replies are no longer allowed.