Twitter Composer查看但没有“撰写”/“提交”按钮

时间:2017-10-10 08:45:39

标签: ios swift ios11 twitterkit

我已经能够显示作曲家视图,但似乎没有任何可见的按钮来提交推文。关于这个问题的任何想法?

private func showTwitterShareDialog() {
        let composer = TWTRComposer()
        let url = "somelink"
        composer.setText("Check out \(kShareHashTag), the complete crypto eco system app! \(url)")

        composer.show(from: self.tabBarController!.selectedViewController!) { (result) in
            if (result == .done) {
                print("Successfully composed Tweet")
                self.giveUserReward()
            } else {
                print("Cancelled composing")
            }
        }
    }

使用iOS 11,来自pod(3.1.1)的最新TwitterKit

enter image description here

0 个答案:

没有答案