forked from organicmaps/organicmaps-tmp
Merge pull request #2658 from igrechuhin/ig-master
[ios] Fixed migration view layout bug on iOS 7.
This commit is contained in:
commit
7b73202d0f
1 changed files with 2 additions and 2 deletions
|
@ -43,8 +43,7 @@
|
|||
|
||||
- (void)setFrame:(CGRect)frame
|
||||
{
|
||||
if (!isIOS7)
|
||||
[self updateForSize:frame.size];
|
||||
[self updateForSize:frame.size];
|
||||
super.frame = frame;
|
||||
}
|
||||
|
||||
|
@ -53,6 +52,7 @@
|
|||
BOOL const hideImage = (self.imageHeight.multiplier * size.height <= self.imageMinHeight.constant);
|
||||
self.titleImageOffset.priority = hideImage ? UILayoutPriorityDefaultLow : UILayoutPriorityDefaultHigh;
|
||||
self.image.hidden = hideImage;
|
||||
[self layoutIfNeeded];
|
||||
}
|
||||
|
||||
- (void)configDefaultState
|
||||
|
|
Loading…
Add table
Reference in a new issue