2

I've been able to get the composer view to appear, but there doesn't seem to be any visible button to submit the tweet. Any ideas on this issue?

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")
            }
        }
    }

Using iOS 11, newest TwitterKit from pod (3.1.1)

enter image description here

royherma
  • 4,095
  • 1
  • 31
  • 42

0 Answers0