()
| 109 | */ |
| 110 | let sceneManifest: NSDictionary<any, any>; |
| 111 | function 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 | |
| 123 | function supportsMultipleScenes(): boolean { |
| 124 | if (SDK_VERSION < 13) { |
no outgoing calls
no test coverage detected