hostView test
This commit is contained in:
1 parent
ac66ffe302
commit
25c4ca01de
1 file changed
+2
-3
@@ -331,7 +331,6 @@ static NSMutableSet* hostList;
|
|||||||
// when at the host selection view.
|
// when at the host selection view.
|
||||||
[self.navigationController.view removeGestureRecognizer:_menuRecognizer];
|
[self.navigationController.view removeGestureRecognizer:_menuRecognizer];
|
||||||
#endif
|
#endif
|
||||||
[self.collectionView setContentOffset:CGPointZero animated:NO];
|
|
||||||
[_appManager stopRetrieving];
|
[_appManager stopRetrieving];
|
||||||
_showHiddenApps = NO;
|
_showHiddenApps = NO;
|
||||||
_selectedHost = nil;
|
_selectedHost = nil;
|
||||||
@@ -375,6 +374,8 @@ static NSMutableSet* hostList;
|
|||||||
self.collectionView.backgroundColor = [ThemeManager appBackgroundColor];
|
self.collectionView.backgroundColor = [ThemeManager appBackgroundColor];
|
||||||
//self.view.backgroundColor = [ThemeManager appBackgroundColor];
|
//self.view.backgroundColor = [ThemeManager appBackgroundColor];
|
||||||
|
|
||||||
|
[self.collectionView setContentOffset:CGPointZero animated:NO];
|
||||||
|
|
||||||
[self attachWaterMark];
|
[self attachWaterMark];
|
||||||
self.navigationItem.rightBarButtonItems = @[_upButton];
|
self.navigationItem.rightBarButtonItems = @[_upButton];
|
||||||
self.revealViewController.mainFrameIsInHostView = false;
|
self.revealViewController.mainFrameIsInHostView = false;
|
||||||
@@ -1776,8 +1777,6 @@ static NSMutableSet* hostList;
|
|||||||
- (void)viewWillDisappear:(BOOL)animated{
|
- (void)viewWillDisappear:(BOOL)animated{
|
||||||
NSLog(@"willDisappear");
|
NSLog(@"willDisappear");
|
||||||
[super viewWillDisappear:animated];
|
[super viewWillDisappear:animated];
|
||||||
[self.collectionView removeFromSuperview];
|
|
||||||
[self.hostCollectionVC.view removeFromSuperview];
|
|
||||||
[_foregroundHostUpdateTimer invalidate];
|
[_foregroundHostUpdateTimer invalidate];
|
||||||
_foregroundHostUpdateTimer = nil;
|
_foregroundHostUpdateTimer = nil;
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in new issue
Block a user