[iOS] Method for screen rotation for device with iOS < iOS6

This commit is contained in:
Kirill Zhdanovich 2013-07-01 11:33:24 +03:00 committed by Alex Zolotarev
parent 1010fc7a15
commit 171b6cd02b

View file

@ -355,4 +355,10 @@ typedef enum {APIPOINT, POI, MYPOSITION} Type;
self.placeAndCompass = nil;
[super dealloc];
}
- (BOOL)shouldAutorotateToInterfaceOrientation:(UIInterfaceOrientation)interfaceOrientation
{
return YES;
}
@end