From 2989b456a45cb786ea8242b2da9a039395e16999 Mon Sep 17 00:00:00 2001 From: "Justin R. Miller" Date: Wed, 19 Feb 2014 12:41:57 -0800 Subject: [PATCH] properly make use of platform::restart on iOS --- ios/MBXViewController.mm | 1 + 1 file changed, 1 insertion(+) diff --git a/ios/MBXViewController.mm b/ios/MBXViewController.mm index f101e7c84..bea95d2bb 100644 --- a/ios/MBXViewController.mm +++ b/ios/MBXViewController.mm @@ -383,6 +383,7 @@ namespace llmr { void restart(void *) { + [[NSNotificationCenter defaultCenter] postNotificationName:MBXNeedsRenderNotification object:nil]; } void request_http(std::string url, std::function background_function, std::function foreground_callback)