Add support to change app size

This commit is contained in:
xzzpig
2024-11-18 20:46:44 +08:00
parent 0f5e644041
commit 978c50c271
4 changed files with 34 additions and 9 deletions
@@ -860,4 +860,11 @@
}
#endif
- (void)viewWillTransitionToSize:(CGSize)size withTransitionCoordinator:(id<UIViewControllerTransitionCoordinator>)coordinator {
[super viewWillTransitionToSize:size withTransitionCoordinator:coordinator];
Log(LOG_I, @"View size changed, terminating stream");
[self returnToMainFrame];
}
@end