I'm simply doing so:
if let vc = SLComposeViewController(forServiceType: SLServiceTypeTwitter) {
vc.setInitialText("Tweet text")
vc.add(image)
present(vc, animated: true)
}
I've done this in my app for a long time now and it used to work fine, but I just realized recently it doesn't work anymore. Now, only the image is being displayed, the text section is empty. So... what happened, what to do?

Try using
TWTRComposerinstead ofSLComposeViewController. TwitterKit provides a lightweightTWTRComposerwith the same capabilities and encapsulates authorising users if your application doesn't have explicit log in functionality.You can download TwitterKit here: https://dev.twitter.com/twitterkit/ios/overview.