properly make use of platform::restart on iOS

This commit is contained in:
Justin R. Miller
2014-02-19 12:41:57 -08:00
parent 3a5dbdb5cc
commit 2989b456a4

View File

@@ -383,6 +383,7 @@ namespace llmr
{
void restart(void *)
{
[[NSNotificationCenter defaultCenter] postNotificationName:MBXNeedsRenderNotification object:nil];
}
void request_http(std::string url, std::function<void(Response&)> background_function, std::function<void()> foreground_callback)