Adjust update view header to iOS 7 style

This commit is contained in:
Andreas Linde
2013-08-17 17:24:28 +02:00
parent 5b43944128
commit 5dd995d1b2
3 changed files with 54 additions and 9 deletions

View File

@@ -270,6 +270,11 @@
[self.tableView addSubview:topView];
_appStoreHeader = [[BITAppStoreHeader alloc] initWithFrame:CGRectMake(0, 0, self.view.frame.size.width, kAppStoreViewHeight)];
if ([self.updateManager isPreiOS7Environment]) {
_appStoreHeader.style = BITAppStoreHeaderStyleDefault;
} else {
_appStoreHeader.style = BITAppStoreHeaderStyleOS7;
}
[self updateAppStoreHeader];
NSString *iconString = nil;