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

Method viewDidLoad

samples/Test/Classes/Control/WebViewTest.cpp:16–23  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

14}
15
16void WebViewTest::viewDidLoad()
17{
18 this->getView()->setColor(CAColor_gray);
19
20 CAWebView* web = CAWebView::createWithLayout(DLayoutFill);
21 web->loadURL("http://crossapp.9miao.com");
22 this->getView()->addSubview(web);
23}
24
25void WebViewTest::viewDidUnload()
26{

Callers

nothing calls this directly

Calls 4

getViewMethod · 0.80
setColorMethod · 0.45
loadURLMethod · 0.45
addSubviewMethod · 0.45

Tested by

no test coverage detected