1
import UIKit
import CoreData
import Firebase
import FBSDKCoreKit
import FirebaseMessaging
import UserNotifications
我安裝使用的CocoaPods的火力地堡和在Xcode實施Facebook登錄8個β4.應用程序和Facebook登錄是在Xcode 8個工作細在我更新到Xcode 8.1 beta之後,Facebook登錄頁面像往常一樣登錄到登錄頁面not being redirecting automatically
。應用的執行情況:的OpenURL:sourceApplication:註釋:不在(Xcode中8.1)發現
根據日誌:
FIRAnalytics/WARNING> Implementation of application:openURL:sourceApplication:annotation: not found. Please add the handler into your App Delegate. Class: pushlite.AppDelegate
我還發現,與沒有的OpenURL被稱爲如下的應用功能:
func application(_ application: UIApplication, open url: URL, sourceApplication: String?, annotation: AnyObject) -> Bool {
print("Handler Called")
let handled = FBSDKApplicationDelegate.sharedInstance().application(application, open: url, sourceApplication: sourceApplication, annotation: annotation)
// Add any custom logic here.
return handled
}
會有人告訴我正確的方式?提前致謝。
https://developer.apple.com/reference/uikit/uiapplicationdelegate/1623112-application –
注意謝謝! – aznelite89