12345678910111213141516171819202122232425262728293031323334353637383940414243444546 |
- //
- // KSLiveWebViewController.m
- // KulexiuForStudent
- //
- // Created by 王智 on 2022/6/10.
- //
- #import "KSLiveWebViewController.h"
- @interface KSLiveWebViewController ()
- @end
- @implementation KSLiveWebViewController
- - (void)viewDidLoad {
- [super viewDidLoad];
- // Do any additional setup after loading the view.
- [[NSNotificationCenter defaultCenter] addObserver:self selector:@selector(liveroomClose) name:@"LiveroomClose" object:nil];
- }
- - (void)liveroomClose {
- [self MBPShow:@"直播已结束"];
- // [self.navigationController popToRootViewControllerAnimated:YES];
- }
- - (void)viewWillAppear:(BOOL)animated {
- [super viewWillAppear:animated];
- self.navigationController.interactivePopGestureRecognizer.enabled = NO;
- }
- - (void)viewWillDisappear:(BOOL)animated {
- [super viewWillDisappear:animated];
- self.navigationController.interactivePopGestureRecognizer.enabled = YES;
- }
- /*
- #pragma mark - Navigation
- // In a storyboard-based application, you will often want to do a little preparation before navigation
- - (void)prepareForSegue:(UIStoryboardSegue *)segue sender:(id)sender {
- // Get the new view controller using [segue destinationViewController].
- // Pass the selected object to the new view controller.
- }
- */
- @end
|