forked from organicmaps/organicmaps
[ios] Do not close calibration dialog on iOS 7+, as it's displayed in full screen mode
This commit is contained in:
parent
77d3eb5912
commit
d868fe323e
1 changed files with 2 additions and 1 deletions
|
@ -195,7 +195,8 @@
|
|||
// Display compass calibration dialog automatically
|
||||
- (BOOL)locationManagerShouldDisplayHeadingCalibration:(CLLocationManager *)manager
|
||||
{
|
||||
if (!m_isTimerActive)
|
||||
// Do not close calibration dialog on iOS 7+, as it's displayed in full screen mode
|
||||
if ([UIDevice currentDevice].systemVersion.floatValue < 7.0 && !m_isTimerActive)
|
||||
{
|
||||
[NSTimer scheduledTimerWithTimeInterval:2.5 target:self selector:@selector(onTimer:)
|
||||
userInfo:nil repeats:NO];
|
||||
|
|
Loading…
Add table
Reference in a new issue