go back to stream view button on ipad

This commit is contained in:
True Zhuanjia
2024-07-11 23:32:17 +08:00
parent 802f8714ef
commit 36ba82dd16
6 changed files with 75 additions and 5 deletions
@@ -222,7 +222,12 @@ BOOL isCustomResolution(CGSize res) {
[[NSNotificationCenter defaultCenter] postNotificationName:@"SessionDisconnectedBySettingsViewNotification" object:self];
}
- (IBAction)goBackToStreamViewButtonTapped:(id)sender {
[self simulateSettingsButtonPress];
}
/*
- (void)addExitButtonOnTop{
UIButton *exitButton = [UIButton buttonWithType:UIButtonTypeSystem];
[exitButton setTitle:@"Exit" forState:UIControlStateNormal];
@@ -234,7 +239,7 @@ BOOL isCustomResolution(CGSize res) {
[exitButton addTarget:self action:@selector(exitButtonTapped) forControlEvents:UIControlEventTouchUpInside];
[self.view addSubview:exitButton];
exitButton.frame = CGRectMake(0, 20, 200, 50); // Adjust Y and height as needed
}
}*/
- (void)viewDidLoad {