MCPcopy Create free account
hub / github.com/9miao/CrossApp / initWebView

Method initWebView

samples/Test/Classes/CDWebViewController.cpp:33–38  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

31}
32
33void CDWebViewController::initWebView(string url)
34{
35 p_webView = CAWebView::createWithLayout(DLayoutFill);
36 p_webView->loadURL(url);
37 this->getView()->addSubview(p_webView);
38}

Calls 3

getViewMethod · 0.80
loadURLMethod · 0.45
addSubviewMethod · 0.45

Tested by

no test coverage detected