forked from organicmaps/organicmaps
Merge pull request #329 from igrechuhin/ig-master
[ios] Hid keyboard on direction view.
This commit is contained in:
commit
0c61f1eba1
1 changed files with 3 additions and 1 deletions
|
@ -316,9 +316,11 @@ typedef NS_ENUM(NSUInteger, MWMPlacePageManagerState)
|
|||
- (void)showDirectionViewWithTitle:(NSString *)title type:(NSString *)type
|
||||
{
|
||||
MWMDirectionView * directionView = self.directionView;
|
||||
UIView * ownerView = self.ownerViewController.view;
|
||||
directionView.titleLabel.text = title;
|
||||
directionView.typeLabel.text = type;
|
||||
[self.ownerViewController.view addSubview:directionView];
|
||||
[ownerView addSubview:directionView];
|
||||
[ownerView endEditing:YES];
|
||||
[directionView setNeedsLayout];
|
||||
[self.delegate updateStatusBarStyle];
|
||||
[(MapsAppDelegate *)[UIApplication sharedApplication].delegate disableStandby];
|
||||
|
|
Loading…
Add table
Reference in a new issue