|
@@ -202,7 +202,6 @@ typedef NS_ENUM(NSInteger, LIVEPAGE) {
|
|
|
|
|
|
- (void)registerOtherLoginNotice {
|
|
|
[[NSNotificationCenter defaultCenter] addObserver:self selector:@selector(liveroomLogOut) name:@"liveroomLogout" object:nil];
|
|
|
- [[NSNotificationCenter defaultCenter] addObserver:self selector:@selector(liveroomQuit) name:@"liveroomQuit" object:nil];
|
|
|
}
|
|
|
|
|
|
- (void)viewWillAppear:(BOOL)animated {
|
|
@@ -775,15 +774,6 @@ typedef NS_ENUM(NSInteger, LIVEPAGE) {
|
|
|
}
|
|
|
}
|
|
|
|
|
|
-- (void)liveroomQuit {
|
|
|
- if (self.isOtherLogin == NO) {
|
|
|
- self.isOtherLogin = YES;
|
|
|
- [self quitRoomBackPreView:NO];
|
|
|
- dispatch_after(dispatch_time(DISPATCH_TIME_NOW, (int64_t)(0.5f * NSEC_PER_SEC)), dispatch_get_main_queue(), ^{
|
|
|
- [[NSNotificationCenter defaultCenter] postNotificationName:@"backLoginView" object:nil];
|
|
|
- });
|
|
|
- }
|
|
|
-}
|
|
|
|
|
|
- (void)connectionService {
|
|
|
[self configLiveVideo];
|