- We don't need to explicitly propagate vc lifecycle messages
Note: This actually fix crash related to [SDL_uikitwindow release], which appears after receiving memory warning during playing one game, finishing it and getting back to GameConfigViewController.
--- a/project_files/HedgewarsMobile/Classes/GameConfigViewController.m Sat Sep 12 04:12:29 2015 +0200
+++ b/project_files/HedgewarsMobile/Classes/GameConfigViewController.m Sat Sep 12 05:21:21 2015 +0200
@@ -371,36 +371,10 @@
UIInterfaceOrientation currentOrientation = [[UIApplication sharedApplication] statusBarOrientation];
[self updateiPadUIForInterfaceOrientation:currentOrientation];
}
-
- [self.mapConfigViewController viewWillAppear:animated];
- [self.teamConfigViewController viewWillAppear:animated];
- [self.schemeWeaponConfigViewController viewWillAppear:animated];
- // add other controllers here and below
[super viewWillAppear:animated];
}
--(void) viewDidAppear:(BOOL)animated {
- [self.mapConfigViewController viewDidAppear:animated];
- [self.teamConfigViewController viewDidAppear:animated];
- [self.schemeWeaponConfigViewController viewDidAppear:animated];
- [super viewDidAppear:animated];
-}
-
--(void) viewWillDisappear:(BOOL)animated {
- [self.mapConfigViewController viewWillDisappear:animated];
- [self.teamConfigViewController viewWillDisappear:animated];
- [self.schemeWeaponConfigViewController viewWillDisappear:animated];
- [super viewWillDisappear:animated];
-}
-
--(void) viewDidDisappear:(BOOL)animated {
- [self.mapConfigViewController viewDidDisappear:animated];
- [self.teamConfigViewController viewDidDisappear:animated];
- [self.schemeWeaponConfigViewController viewDidDisappear:animated];
- [super viewDidDisappear:animated];
-}
-
-(void) didReceiveMemoryWarning {
self.imgContainer = nil;