forked from organicmaps/organicmaps
Merge pull request #5314 from igrechuhin/MAPSME-3752
[MAPSME-3752] [ios] Fixed search layout bug.
This commit is contained in:
commit
9e47ec4f3d
1 changed files with 6 additions and 1 deletions
|
@ -489,8 +489,13 @@ typedef NS_ENUM(NSUInteger, MWMSearchManagerActionBarState) {
|
|||
}
|
||||
else
|
||||
{
|
||||
if (searchBarView.superview == parentView)
|
||||
if (searchBarView.superview)
|
||||
{
|
||||
[parentView bringSubviewToFront:contentView];
|
||||
[parentView bringSubviewToFront:actionBarView];
|
||||
[parentView bringSubviewToFront:searchBarView];
|
||||
return;
|
||||
}
|
||||
[parentView addSubview:contentView];
|
||||
[parentView addSubview:actionBarView];
|
||||
[parentView addSubview:searchBarView];
|
||||
|
|
Loading…
Add table
Reference in a new issue