Commit fcdd50f2 by Christophe Geuzaine

hide back button during computation

parent a2488e97
Pipeline #1655 passed with stage
in 63 minutes 34 seconds
......@@ -134,6 +134,8 @@
[_progressLabel setHidden:NO];
[_progressIndicator setHidden:NO];
[_progressIndicator startAnimating];
self.navigationItem.hidesBackButton = YES;
[[UIApplication sharedApplication] cancelAllLocalNotifications];
dispatch_async(dispatch_get_global_queue(QOS_CLASS_USER_INITIATED, 0), ^{
onelab_cb("compute");
......@@ -146,6 +148,7 @@
[_progressLabel setHidden:YES];
[_progressIndicator stopAnimating];
[_progressIndicator setHidden:YES];
self.navigationItem.hidesBackButton = NO;
});
});
}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment