Skype URI无法在iOS 9中运行

前端之家收集整理的这篇文章主要介绍了Skype URI无法在iOS 9中运行前端之家小编觉得挺不错的,现在分享给大家,也给大家做个参考。
我已经实现了一个模块,用于打开各种模块聊天,通话,视频通话的Skype应用程序.它一直工作到iOS 8.

下面是链接以进行集成

https://msdn.microsoft.com/en-us/library/dn745885.aspx

但它现在停止在iOS 9中工作了.

即使安装了Skype,以下代码也只是打开App-store搜索Skype

BOOL installed = [[UIApplication sharedApplication] canOpenURL:[NSURL URLWithString:@"skype:"]];
    if(installed)
    {
        [[UIApplication sharedApplication] openURL:[NSURL URLWithString:[NSString stringWithFormat:@"skype:%@?chat",dataSource[indexPath.section]]]];
    }
    else
    {
        [[UIApplication sharedApplication] openURL:[NSURL URLWithString:@"https://itunes.apple.com/in/app/skype-for-iphone/id304878510?mt=8"]];
    }

任何替代方案?请指导.谢谢

下面我将分享对我有用的图像.

我在Info.plist文件中为Skype添加了关键的LSApplicationQueriesSchemes

BOOL installed = [[UIApplication sharedApplication] canOpenURL:[NSURL URLWithString:@"skype:"]];
    if(installed)
    {
        [[UIApplication sharedApplication] openURL:[NSURL URLWithString:[NSString stringWithFormat:@"skype:%@?chat",dataSource[indexPath.section]]]];
    }
    else
    {
        [[UIApplication sharedApplication] openURL:[NSURL URLWithString:@"https://itunes.apple.com/in/app/skype-for-iphone/id304878510?mt=8"]];
    }

猜你在找的Windows相关文章