(entry?: string | NavigationEntry)
| 308 | } |
| 309 | |
| 310 | run(entry?: string | NavigationEntry): void { |
| 311 | setAppMainEntry(typeof entry === 'string' ? { moduleName: entry } : entry); |
| 312 | this.started = true; |
| 313 | |
| 314 | if (this.nativeApp) { |
| 315 | this.runAsEmbeddedApp(); |
| 316 | } else { |
| 317 | this.runAsMainApp(); |
| 318 | } |
| 319 | } |
| 320 | |
| 321 | private runAsMainApp() { |
| 322 | UIApplicationMain(0, null, null, this.delegate ? NSStringFromClass(this.delegate as any) : NSStringFromClass(Responder)); |
no test coverage detected