width update for calculate correct height
This commit is contained in:
parent
0faabb8f17
commit
e5a66dc1a3
@ -289,8 +289,7 @@
|
||||
|
||||
UIView *headerView = self.headerView;
|
||||
UIView *tableHeader = [[UIView alloc] initWithFrame:CGRectMake(0, 0, [UIScreen mainScreen].bounds.size.width, 0)];
|
||||
[MVMCoreUIUtility sizeViewToFit:headerView];
|
||||
|
||||
[MVMCoreUIUtility sizeViewToFit:headerView forWidth:[NSNumber numberWithFloat:[MVMCoreUISplitViewController getDetailViewWidth]]];
|
||||
CGRect frame = tableHeader.frame;
|
||||
frame.size.height = CGRectGetHeight(headerView.frame);
|
||||
tableHeader.frame = frame;
|
||||
|
||||
Loading…
Reference in New Issue
Block a user