其他人收到此错误:
Error Domain=WebKitErrorDomain Code=101 "The operation couldn’t be completed. (WebKitErrorDomain error 101.)"
使用时:
FBWebDialogs.presentDialogModallyWithSession(nil, dialog: "Share this", parameters: ["Sharing Tutorial": "name", "Build Great app": "Caption", "Users to share": "description", "http://google.ca":"link", "http://i.forbesimg.com/media/lists/companies/google_416x416.jpg": "picture"], handler: {
result, resultURL, error in
if (error != nil){
println("error publishing \(error.description)")
} else {
if (result == FBWebDialogResult.DialogNotCompleted){
println("user cancelled")
} else {
println("very good job")
}
}
不太确定为什么会这样。任何帮助是极大的赞赏!谢谢所以