diff options
author | Kirill Zhdanovich <kzhdanovich@gmail.com> | 2013-07-01 12:33:24 +0400 |
---|---|---|
committer | Alex Zolotarev <alex@maps.me> | 2015-09-23 01:57:39 +0300 |
commit | 171b6cd02bfed572f1881c9483efccdd5c06754e (patch) | |
tree | 44e920db7b32063ab8980bb30325f4ec4ad485c7 /iphone/Maps | |
parent | 1010fc7a155c288a187493cff2a20ee00afb7227 (diff) |
[iOS] Method for screen rotation for device with iOS < iOS6
Diffstat (limited to 'iphone/Maps')
-rw-r--r-- | iphone/Maps/Classes/PlacePreviewViewController.mm | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/iphone/Maps/Classes/PlacePreviewViewController.mm b/iphone/Maps/Classes/PlacePreviewViewController.mm index 9fcaaa45e6..572b6b3747 100644 --- a/iphone/Maps/Classes/PlacePreviewViewController.mm +++ b/iphone/Maps/Classes/PlacePreviewViewController.mm @@ -355,4 +355,10 @@ typedef enum {APIPOINT, POI, MYPOSITION} Type; self.placeAndCompass = nil; [super dealloc]; } + +- (BOOL)shouldAutorotateToInterfaceOrientation:(UIInterfaceOrientation)interfaceOrientation +{ + return YES; +} + @end |