Suppress system gesture detection during streaming

This commit is contained in:
Cameron Gutman
2017-09-15 00:30:51 -07:00
parent 86f7112789
commit d0d60b8ffc
4 changed files with 38 additions and 0 deletions

View File

@@ -21,6 +21,13 @@
StreamManager *_streamMan;
}
- (void)viewDidAppear:(BOOL)animated
{
[super viewDidAppear:animated];
[[self revealViewController] setPrimaryViewController:self];
}
- (void)viewDidLoad
{
[super viewDidLoad];
@@ -146,6 +153,11 @@
// Dispose of any resources that can be recreated.
}
// Require a confirmation when streaming to activate a system gesture
- (UIRectEdge)preferredScreenEdgesDeferringSystemGestures {
return UIRectEdgeAll;
}
- (BOOL)shouldAutorotate {
return YES;
}