File tree Expand file tree Collapse file tree 3 files changed +4
-6
lines changed
FastImageCache/FastImageCacheDemo/Classes Expand file tree Collapse file tree 3 files changed +4
-6
lines changed Original file line number Diff line number Diff line change 22
22
+ (NSString *)reuseIdentifier ;
23
23
+ (NSInteger )photosPerRow ;
24
24
+ (CGFloat)outerPadding ;
25
- + (CGFloat)rowHeightForInterfaceOrientation : (UIInterfaceOrientation) interfaceOrientation ;
25
+ + (CGFloat)rowHeight ;
26
26
27
27
@end
28
28
Original file line number Diff line number Diff line change @@ -103,7 +103,7 @@ + (CGFloat)outerPadding {
103
103
return outerPadding;
104
104
}
105
105
106
- + (CGFloat)rowHeightForInterfaceOrientation : (UIInterfaceOrientation) interfaceOrientation {
106
+ + (CGFloat)rowHeight {
107
107
CGFloat rowHeight = ([[UIDevice currentDevice ] userInterfaceIdiom ] == UIUserInterfaceIdiomPad) ? 84 : 79 ;
108
108
109
109
return rowHeight;
Original file line number Diff line number Diff line change @@ -485,9 +485,7 @@ - (UITableViewCell*)tableView:(UITableView*)table cellForRowAtIndexPath:(NSIndex
485
485
#pragma mark - UITableViewDelegate
486
486
487
487
- (CGFloat)tableView : (UITableView *)tableView heightForRowAtIndexPath : (NSIndexPath *)indexPath {
488
- CGFloat rowHeight = [FICDPhotosTableViewCell rowHeightForInterfaceOrientation: [self interfaceOrientation ]];
489
-
490
- return rowHeight;
488
+ return [FICDPhotosTableViewCell rowHeight ];
491
489
}
492
490
493
491
- (void )tableView : (UITableView*)tableView didSelectRowAtIndexPath : (NSIndexPath *)indexPath {
@@ -551,7 +549,7 @@ - (void)photoDisplayController:(FICDFullscreenPhotoDisplayController *)photoDisp
551
549
[self _updateStatusBarStyleForColorAveragedImage: colorAveragedImage];
552
550
}
553
551
} else {
554
- [[UIApplication sharedApplication ] setStatusBarStyle: UIStatusBarStyleBlackTranslucent animated: YES ];
552
+ [[UIApplication sharedApplication ] setStatusBarStyle: UIStatusBarStyleLightContent animated: YES ];
555
553
}
556
554
}
557
555
You can’t perform that action at this time.
0 commit comments