在Xcode中,我的instagram应用程序无法获取url回调

在Xcode中,我的instagram应用程序无法获取url回调,xcode,url,instagram,Xcode,Url,Instagram,我正在上一门Coursera课程,并且已经一字不差地遵循了讲师的代码。然而,登录Instagram后,我会被发送到一个网站,而不是我尝试使用的示例应用程序。我假设课程不是为iOS 9+构建的 在iOS 9中,您需要在其plist文件中提供一个LSApplicationQueriesSchemes条目,声明它试图查询的方案 <key>LSApplicationQueriesSchemes</key> <array> <string>

我正在上一门Coursera课程,并且已经一字不差地遵循了讲师的代码。然而,登录Instagram后,我会被发送到一个网站,而不是我尝试使用的示例应用程序。

我假设课程不是为iOS 9+构建的

在iOS 9中,您需要在其plist文件中提供一个LSApplicationQueriesSchemes条目,声明它试图查询的方案

 <key>LSApplicationQueriesSchemes</key>
   <array>
     <string>instagram</string>
   </array> 
</key>
LSApplicationQueriesSchemes
instagram

如果您不发布任何代码,则无法帮助。。。