forked from organicmaps/organicmaps
[iOS] Method for screen rotation for device with iOS < iOS6
This commit is contained in:
parent
1010fc7a15
commit
171b6cd02b
1 changed files with 6 additions and 0 deletions
|
@ -355,4 +355,10 @@ typedef enum {APIPOINT, POI, MYPOSITION} Type;
|
|||
self.placeAndCompass = nil;
|
||||
[super dealloc];
|
||||
}
|
||||
|
||||
- (BOOL)shouldAutorotateToInterfaceOrientation:(UIInterfaceOrientation)interfaceOrientation
|
||||
{
|
||||
return YES;
|
||||
}
|
||||
|
||||
@end
|
||||
|
|
Loading…
Add table
Reference in a new issue