Skip to content

Commit a12ad21

Browse files
author
Tsvetan Raikov
committed
Fixed: XML/HTML livesync not working on iOS
1 parent 39007ab commit a12ad21

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

tns-core-modules/application/application.ios.ts

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -87,7 +87,7 @@ class IOSApplication implements definition.iOSApplication {
8787

8888
get window(): Window {
8989
return this._window;
90-
}
90+
}
9191

9292
get delegate(): typeof UIApplicationDelegate {
9393
return this._delegate;
@@ -225,7 +225,7 @@ global.__onUncaughtError = function (error: definition.NativeScriptError) {
225225
if (types.isFunction(typedExports.onUncaughtError)) {
226226
typedExports.onUncaughtError(error);
227227
}
228-
228+
229229
typedExports.notify({ eventName: typedExports.uncaughtErrorEvent, object: typedExports.ios, ios: error });
230230
}
231231

@@ -276,11 +276,11 @@ typedExports.start = function (entry?: NavigationEntry) {
276276
if (entry) {
277277
exports.mainEntry = entry;
278278
}
279-
279+
started = true;
280280
loadCss();
281281

282282
if(!iosApp.nativeApp) {
283-
// Normal NativeScript app will need UIApplicationMain.
283+
// Normal NativeScript app will need UIApplicationMain.
284284
UIApplicationMain(0, null, null, typedExports.ios && typedExports.ios.delegate ? NSStringFromClass(typedExports.ios.delegate) : NSStringFromClass(Responder));
285285
} else {
286286
let rootView = createRootView();

0 commit comments

Comments
 (0)