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

Function supportsScenes

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

Source from the content-addressed store, hash-verified

109 */
110let sceneManifest: NSDictionary<any, any>;
111function supportsScenes(): boolean {
112 if (SDK_VERSION < 13) {
113 return false;
114 }
115
116 if (typeof sceneManifest === 'undefined') {
117 // Check if scene manifest exists in Info.plist
118 sceneManifest = NSBundle.mainBundle.objectForInfoDictionaryKey('UIApplicationSceneManifest');
119 }
120 return !!sceneManifest;
121}
122
123function supportsMultipleScenes(): boolean {
124 if (SDK_VERSION < 13) {

Callers 2

application.ios.tsFile · 0.85
supportsScenesMethod · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected