是否有用于启动Yandex Maps应用程序及说明的URL方案?
我只需用几行代码即可启动Yandex Maps应用程序(如果已安装),但没有找到有关该应用程序处理的URLSchemes的文档:
NSURL *url = [NSURL URLWithString:@"yandexmaps://maps.yandex.ru/"];
if([[UIApplication sharedApplication] canOpenURL:url]){
[[UIApplication sharedApplication] openURL:url];
}
Run Code Online (Sandbox Code Playgroud)