0
我在iOS應用中使用Facebook Native Share對話框。我給出了初始文本,但是當對話彈出時,它會將我的初始文本添加到URL中。我怎麼解決這個問題?這裏的代碼。iOS Facebook Native Share對話框:初始文本
BOOL displayedNativeDialog =
[FBNativeDialogs
presentShareDialogModallyFrom:self
initialText:@"Say something about this..."
image:[UIImage imageWithData:imageData]
url:[NSURL URLWithString:activityUrl]
handler:^(FBNativeDialogResult result, NSError *error) {
if (error) {
} else {
if (result == FBNativeDialogResultSucceeded) {
} else {
}
}
}];