Commit 2c57e1dd authored by 余玠's avatar 余玠

no log for surfaceUpdated

parent dc5b99c1
...@@ -152,6 +152,12 @@ static NSUInteger kInstanceCounter = 0; ...@@ -152,6 +152,12 @@ static NSUInteger kInstanceCounter = 0;
// NSLog(@"[DEBUG]- I did nothing, I am innocent"); // NSLog(@"[DEBUG]- I did nothing, I am innocent");
} }
//- (void)surfaceUpdated:(BOOL)appeared{
//
// NSLog(@"[JDEBUG]--------surfaceUpdated---%@----%d-", self.name, appeared);
// [super surfaceUpdated:appeared];
//}
#pragma mark - Life circle methods #pragma mark - Life circle methods
- (void)viewDidLayoutSubviews - (void)viewDidLayoutSubviews
...@@ -212,6 +218,9 @@ static NSUInteger kInstanceCounter = 0; ...@@ -212,6 +218,9 @@ static NSUInteger kInstanceCounter = 0;
uniqueId:self.uniqueIDString]; uniqueId:self.uniqueIDString];
[[[UIApplication sharedApplication] keyWindow] endEditing:YES]; [[[UIApplication sharedApplication] keyWindow] endEditing:YES];
[super viewWillDisappear:animated]; [super viewWillDisappear:animated];
// if([self.name isEqualToString:@"second"]){
// self.view.frame = CGRectMake(0, 0, 375, 812);
// }
} }
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment