Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/mapsme/omim.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorVladiMihaylenko <vxmihaylenko@gmail.com>2016-03-22 12:16:40 +0300
committerSergey Yershov <yershov@corp.mail.ru>2016-03-23 16:57:50 +0300
commit037890b13876b36aad1ef66e143638f16479f526 (patch)
tree1f45a53b30530fb2098169c329fc47eb5e4f48ac /iphone/Maps/Classes/Components
parentce1d37afad400eba156998e12617d2c49c1195d8 (diff)
[ios] Added swipe to pop && changed alerts corner radius.
Diffstat (limited to 'iphone/Maps/Classes/Components')
-rw-r--r--iphone/Maps/Classes/Components/MWMTableViewController.mm3
-rw-r--r--iphone/Maps/Classes/Components/MWMViewController.mm3
2 files changed, 4 insertions, 2 deletions
diff --git a/iphone/Maps/Classes/Components/MWMTableViewController.mm b/iphone/Maps/Classes/Components/MWMTableViewController.mm
index 162ac0e75c..954a62351e 100644
--- a/iphone/Maps/Classes/Components/MWMTableViewController.mm
+++ b/iphone/Maps/Classes/Components/MWMTableViewController.mm
@@ -7,7 +7,7 @@
#import "3party/Alohalytics/src/alohalytics_objc.h"
-@interface MWMTableViewController ()
+@interface MWMTableViewController () <UIGestureRecognizerDelegate>
@property (nonatomic, readwrite) MWMAlertViewController * alertController;
@@ -39,6 +39,7 @@
self.tableView.separatorColor = [UIColor blackDividers];
[self.navigationController.navigationBar setTranslucent:NO];
[self.tableView registerClass:[MWMTableViewCell class] forCellReuseIdentifier:[UITableViewCell className]];
+ self.navigationController.interactivePopGestureRecognizer.delegate = self;
}
- (void)viewWillAppear:(BOOL)animated
diff --git a/iphone/Maps/Classes/Components/MWMViewController.mm b/iphone/Maps/Classes/Components/MWMViewController.mm
index 4d97acc4f0..57d58b2469 100644
--- a/iphone/Maps/Classes/Components/MWMViewController.mm
+++ b/iphone/Maps/Classes/Components/MWMViewController.mm
@@ -6,7 +6,7 @@
#import "3party/Alohalytics/src/alohalytics_objc.h"
-@interface MWMViewController ()
+@interface MWMViewController () <UIGestureRecognizerDelegate>
@property (nonatomic, readwrite) MWMAlertViewController * alertController;
@@ -31,6 +31,7 @@
{
[super viewDidLoad];
[self.navigationController.navigationBar setTranslucent:NO];
+ self.navigationController.interactivePopGestureRecognizer.delegate = self;
}
- (void)viewWillAppear:(BOOL)animated