forked from organicmaps/organicmaps
[ios] Fixed layout crash.
This commit is contained in:
parent
0454220865
commit
37661ed84a
1 changed files with 7 additions and 2 deletions
|
@ -44,8 +44,13 @@
|
|||
return;
|
||||
|
||||
self.noResultsBottomOffset.constant = keyboardHeight;
|
||||
[self layoutIfNeeded];
|
||||
if (self.superview)
|
||||
[self layoutIfNeeded];
|
||||
}
|
||||
|
||||
- (void)onKeyboardWillAnimate { [self layoutIfNeeded]; }
|
||||
- (void)onKeyboardWillAnimate
|
||||
{
|
||||
if (self.superview)
|
||||
[self layoutIfNeeded];
|
||||
}
|
||||
@end
|
||||
|
|
Loading…
Add table
Reference in a new issue