Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/NativeScript/NativeScript
/ createNativeView
Method
createNativeView
packages/core/ui/switch/index.ios.ts:41–43 ·
view source on GitHub ↗
()
Source
from the content-addressed store, hash-verified
39
}
40
41
public createNativeView() {
42
return
UISwitch.
new
();
43
}
44
45
public initNativeView(): void {
46
super.initNativeView();
Callers
nothing calls this directly
Calls
1
new
Method · 0.45
Tested by
no test coverage detected