Facebook sdk 4.4.0登录,具有ReadPermissions,不适用于带iOS 9的iphone

Facebook sdk 4.4.0登录,具有ReadPermissions,不适用于带iOS 9的iphone,ios,facebook,sdk,Ios,Facebook,Sdk,我在iOS上使用facebook sdk 4.4.0,在iOS 9上使用iphone 6。logInWithReadPermissions不执行任何操作。也没有错误。它在带ios8的iphone上运行完全正常。非常感谢您的帮助。请帮帮我 iOS 9中有一些变化,需要您做些什么才能让Facebook SDK正常工作。包括如何使其与iOS 9配合使用的说明 本质上,将SDK更新为v4.6。将此添加到应用程序的Info.plist: <key>NSAppTransportSecurity&

我在iOS上使用facebook sdk 4.4.0,在iOS 9上使用iphone 6。logInWithReadPermissions不执行任何操作。也没有错误。它在带ios8的iphone上运行完全正常。非常感谢您的帮助。请帮帮我

iOS 9中有一些变化,需要您做些什么才能让Facebook SDK正常工作。包括如何使其与iOS 9配合使用的说明

本质上,将SDK更新为v4.6。将此添加到应用程序的Info.plist:

<key>NSAppTransportSecurity</key>
<dict>
    <key>NSExceptionDomains</key>
    <dict>
        <key>facebook.com</key>
        <dict>
            <key>NSIncludesSubdomains</key>
            <true/>                
            <key>NSExceptionRequiresForwardSecrecy</key>
            <false/>
        </dict>
        <key>fbcdn.net</key>
        <dict>
            <key>NSIncludesSubdomains</key>
            <true/>
            <key>NSExceptionRequiresForwardSecrecy</key>
            <false/>
        </dict>
        <key>akamaihd.net</key>
        <dict>
            <key>NSIncludesSubdomains</key>
            <true/>
            <key>NSExceptionRequiresForwardSecrecy</key>
            <false/>
        </dict>
    </dict>
</dict>
以及:


iOS 9中有一些变化,需要您做一些事情才能使Facebook SDK正常工作。包括如何使其与iOS 9配合使用的说明

本质上,将SDK更新为v4.6。将此添加到应用程序的Info.plist:

<key>NSAppTransportSecurity</key>
<dict>
    <key>NSExceptionDomains</key>
    <dict>
        <key>facebook.com</key>
        <dict>
            <key>NSIncludesSubdomains</key>
            <true/>                
            <key>NSExceptionRequiresForwardSecrecy</key>
            <false/>
        </dict>
        <key>fbcdn.net</key>
        <dict>
            <key>NSIncludesSubdomains</key>
            <true/>
            <key>NSExceptionRequiresForwardSecrecy</key>
            <false/>
        </dict>
        <key>akamaihd.net</key>
        <dict>
            <key>NSIncludesSubdomains</key>
            <true/>
            <key>NSExceptionRequiresForwardSecrecy</key>
            <false/>
        </dict>
    </dict>
</dict>
以及: