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

Function useIOSFontScale

packages/core/application/application.ios.ts:1315–1321  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

1313}
1314
1315function useIOSFontScale() {
1316 if (Application.ios.nativeApp) {
1317 contentSizeUpdated(Application.ios.nativeApp.preferredContentSizeCategory);
1318 } else {
1319 fontScaleChanged(1);
1320 }
1321}
1322
1323let fontSizeObserver;
1324function setupConfigListener(attempt = 0) {

Callers 1

setupConfigListenerFunction · 0.85

Calls 2

contentSizeUpdatedFunction · 0.85
fontScaleChangedFunction · 0.70

Tested by

no test coverage detected