Changed back url detection - now we're using first found scheme with mapswithme keyword in scheme id
This commit is contained in:
parent
5d9f7c2123
commit
5440821606
1 changed files with 2 additions and 2 deletions
|
@ -188,8 +188,8 @@ static NSString * MWMUrlScheme = @"mapswithme://";
|
|||
{
|
||||
for (NSString * scheme in [dict objectForKey:@"CFBundleURLSchemes"])
|
||||
{
|
||||
if ([scheme rangeOfString:@"mapswithme" options:NSCaseInsensitiveSearch].location != NSNotFound)
|
||||
return scheme;
|
||||
// We use the first scheme in this list, you can change this behavior if needed
|
||||
return scheme;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Add table
Reference in a new issue