Suppress system gesture detection during streaming
This commit is contained in:
parent
86f7112789
commit
d0d60b8ffc
4 changed files with 38 additions and 0 deletions
|
|
@ -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;
|
||||
}
|
||||
|
|
|
|||
Loading…
Reference in a new issue