Twitter sharing image using SLComposeViewController not working in ios 10.3

ios

#1

Hello all ,
here i have just created demo application and here is my code

let twitterComposeVC = SLComposeViewController(forServiceType: SLServiceTypeTwitter)
twitterComposeVC?.setInitialText("hello")
twitterComposeVC?.add(UIImage(named: "twitter"))
self.present(twitterComposeVC!, animated: true, completion: nil)

Here is a demo - https://drive.google.com/file/d/0B4zeJx_T01Z4TjNFODNpZWlvTWs/view?usp=sharing

image not showing ,

Please to guide me , how i need to go next .


#2

This topic was automatically closed 14 days after the last reply. New replies are no longer allowed.