MCPcopy Create free account
hub / github.com/NativeScript/NativeScript / getMainScreen

Function getMainScreen

packages/core/utils/native-helper.ios.ts:195–198  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

193}
194
195function getMainScreen(): UIScreen {
196 const window = getWindow();
197 return window ? window.screen : UIScreen.mainScreen;
198}
199
200function setWindowBackgroundColor(value: string) {
201 const win = getWindow();

Callers

nothing calls this directly

Calls 1

getWindowFunction · 0.70

Tested by

no test coverage detected