|
@@ -52,11 +52,18 @@
|
|
|
{
|
|
{
|
|
|
[super viewWillAppear:animated];
|
|
[super viewWillAppear:animated];
|
|
|
[[self navigationController] setNavigationBarHidden:YES animated:NO];
|
|
[[self navigationController] setNavigationBarHidden:YES animated:NO];
|
|
|
|
|
+
|
|
|
|
|
+ if(!CGSizeEqualToSize(self.ori_size, [[UIScreen mainScreen] applicationFrame].size))
|
|
|
|
|
+ {
|
|
|
|
|
+ [self.homeTable reloadData];
|
|
|
|
|
+ }
|
|
|
// self.content = self.bak_content;
|
|
// self.content = self.bak_content;
|
|
|
// [self reload_container_getdata:false];
|
|
// [self reload_container_getdata:false];
|
|
|
}
|
|
}
|
|
|
-(void) viewWillDisappear:(BOOL)animated
|
|
-(void) viewWillDisappear:(BOOL)animated
|
|
|
{
|
|
{
|
|
|
|
|
+
|
|
|
|
|
+ self.ori_size=[[UIScreen mainScreen] applicationFrame].size;
|
|
|
// [[NSNotificationCenter defaultCenter] postNotificationName:CYCLESCROLL_STOPTIMMER object:nil];
|
|
// [[NSNotificationCenter defaultCenter] postNotificationName:CYCLESCROLL_STOPTIMMER object:nil];
|
|
|
// self.bak_content = self.content;
|
|
// self.bak_content = self.content;
|
|
|
// self.content= nil;
|
|
// self.content= nil;
|