0
我想下面的代碼轉換成目標C,如何迅速代碼轉換成目標C
func application(application: UIApplication,
continueUserActivity userActivity: NSUserActivity,
restorationHandler: (([AnyObject]!) -> Void))
-> Bool {
let userInfo = userActivity.userInfo as NSDictionary
println("Received a payload via handoff: \(userInfo)")
return true
}
請幫助我的人。
唯一棘手的部分是'restorationHandler',但它甚至沒有使用,所以... – Thilo