Commit 7a40ab9b authored by tanzhen's avatar tanzhen

优化预览界面状态栏的处理代码

parent adbe93fc
...@@ -106,6 +106,10 @@ static CGSize AssetGridThumbnailSize; ...@@ -106,6 +106,10 @@ static CGSize AssetGridThumbnailSize;
} }
} }
- (BOOL)prefersStatusBarHidden {
return NO;
}
- (void)configCollectionView { - (void)configCollectionView {
TZImagePickerController *tzImagePickerVc = (TZImagePickerController *)self.navigationController; TZImagePickerController *tzImagePickerVc = (TZImagePickerController *)self.navigationController;
......
...@@ -68,6 +68,10 @@ ...@@ -68,6 +68,10 @@
if (iOS7Later) [UIApplication sharedApplication].statusBarHidden = NO; if (iOS7Later) [UIApplication sharedApplication].statusBarHidden = NO;
} }
- (BOOL)prefersStatusBarHidden {
return YES;
}
- (void)configCustomNaviBar { - (void)configCustomNaviBar {
TZImagePickerController *tzImagePickerVc = (TZImagePickerController *)self.navigationController; TZImagePickerController *tzImagePickerVc = (TZImagePickerController *)self.navigationController;
......
...@@ -72,6 +72,10 @@ ...@@ -72,6 +72,10 @@
[self configCollectionView]; [self configCollectionView];
} }
- (BOOL)prefersStatusBarHidden {
return NO;
}
- (void)configCollectionView { - (void)configCollectionView {
_layout = [[LxGridViewFlowLayout alloc] init]; _layout = [[LxGridViewFlowLayout alloc] init];
_margin = 4; _margin = 4;
......
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