Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/NativeScript/NativeScript
/ _getUIFont
Function
_getUIFont
apps/ui/src/fonts-tests/all-fonts-page.ts:146–154 ·
view source on GitHub ↗
(view: any)
Source
from the content-addressed store, hash-verified
144
}
145
146
function
_getUIFont(view: any): UIFont {
147
if
(view.ios) {
148
if
(view.ios instanceof UIButton) {
149
return
view.ios.titleLabel.font;
150
}
else
if
(view.ios.font) {
151
return
view.ios.font;
152
}
153
}
154
}
Callers
1
prepareLabel
Function · 0.85
Calls
no outgoing calls
Tested by
no test coverage detected