diff options
author | Ilya Grechuhin <i.grechuhin@mapswithme.com> | 2015-06-16 14:32:16 +0300 |
---|---|---|
committer | Alex Zolotarev <alex@maps.me> | 2015-09-23 02:52:40 +0300 |
commit | 00c153b50ff6c92c312fb9fdc7662df4eef54388 (patch) | |
tree | 419ad82fedd1d550b3c4b3da916ff6bd7aabe1a8 /iphone/Maps/Classes/UIViewController+Navigation.mm | |
parent | 279c4e252521359d59d76e533b7cde41a74183e9 (diff) |
[ios] Added place page dragging support.
Diffstat (limited to 'iphone/Maps/Classes/UIViewController+Navigation.mm')
-rw-r--r-- | iphone/Maps/Classes/UIViewController+Navigation.mm | 7 |
1 files changed, 0 insertions, 7 deletions
diff --git a/iphone/Maps/Classes/UIViewController+Navigation.mm b/iphone/Maps/Classes/UIViewController+Navigation.mm index 974548cd34..ff26e3026e 100644 --- a/iphone/Maps/Classes/UIViewController+Navigation.mm +++ b/iphone/Maps/Classes/UIViewController+Navigation.mm @@ -6,14 +6,7 @@ - (void)showBackButton { -// UIButton * backButton = [[UIButton alloc] initWithFrame:CGRectMake(0, 0, 56, 44)]; -// [backButton addTarget:self action:@selector(backButtonPressed:) forControlEvents:UIControlEventTouchUpInside]; -// [backButton setImage:[UIImage imageNamed:@"NavigationBarBackButton"] forState:UIControlStateNormal]; -// -// UIBarButtonItem * space = [[UIBarButtonItem alloc] initWithBarButtonSystemItem:UIBarButtonSystemItemFixedSpace target:nil action:nil]; -// space.width = SYSTEM_VERSION_IS_LESS_THAN(@"7") ? -8 : -16; UIBarButtonItem * leftItem = [[UIBarButtonItem alloc] initWithImage:[UIImage imageNamed:@"NavigationBarBackButton"] style:UIBarButtonItemStylePlain target:self action:@selector(backButtonPressed:)]; -// UIBarButtonItem * item = [[UIBarButtonItem alloc] initWithCustomView:backButton]; self.navigationItem.leftBarButtonItem = leftItem; } |