statusbar/navbar visibility & news.html
[FIXED] Handle statusbar/navbar visibility only from viewWillAppear. [FIXED] URL to news.html.
This commit is contained in:
parent
7589b3a048
commit
e3d8d3c31c
@ -120,6 +120,9 @@
|
||||
}
|
||||
|
||||
- (void)viewWillAppear:(BOOL)animated {
|
||||
|
||||
[[UIApplication sharedApplication] setStatusBarHidden:NO withAnimation:UIStatusBarAnimationSlide];
|
||||
[self.navigationController setNavigationBarHidden:NO animated:animated];
|
||||
|
||||
MPElementEntity *activeElement = [self activeElementForMainThread];
|
||||
if (activeElement.user != [[MPiOSAppDelegate get] activeUserForMainThread])
|
||||
|
@ -188,7 +188,7 @@
|
||||
self.uiContainer.alpha = 1;
|
||||
}];
|
||||
|
||||
NSString *newsURL = PearlString( @"http://masterpasswordapp.com/news-dev.html?version=%@",
|
||||
NSString *newsURL = PearlString( @"http://masterpasswordapp.com/news.html?version=%@",
|
||||
[[PearlInfoPlist get] CFBundleVersion] );
|
||||
[self.newsView loadRequest:[NSURLRequest requestWithURL:[NSURL URLWithString:newsURL]]];
|
||||
}];
|
||||
@ -245,11 +245,6 @@
|
||||
|
||||
[self.marqueeTipTimer invalidate];
|
||||
|
||||
[[UIApplication sharedApplication] setStatusBarHidden:NO withAnimation:UIStatusBarAnimationSlide];
|
||||
[[NSOperationQueue mainQueue] addOperationWithBlock:^{
|
||||
[self.navigationController setNavigationBarHidden:NO animated:animated];
|
||||
}];
|
||||
|
||||
[super viewWillDisappear:animated];
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user