您好我的游戏有一个帖子到Facebook按钮。我希望用户能够发布他们的高分,但无法更改它,但能够在他们的帖子中输入消息。我该怎么做呢?我到目前为止的代码是:
@IBAction func ShareToFacebook(sender: AnyObject) {
var SharetoFacebook: SLComposeViewController = SLComposeViewController(forServiceType: SLServiceTypeFacebook)
var posting = finalTime.text
SharetoFacebook.setInitialText("New Highscore ohhhhh yea :) \n \n " + posting!)
SharetoFacebook.addImage(UIImage(named: "upload.png"))
self.presentViewController(SharetoFacebook, animated: true, completion: nil)
基本上我不希望他们能够编辑"发布"