Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- // Twitter投稿用SLComposeViewControler生成
- let twitterVC:SLComposeViewController = SLComposeViewController(forServiceType: SLServiceTypeTwitter)!
- // メッセージのセット
- twitterVC.setInitialText("(投稿したい文字列)")
- // Viewの表示
- self.presentViewController(twitterVC, animated: true, completion: nil)
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement