title: Swift: How to post to Twitter from iOS app with certain hashtag?
body: <p>I'm fairly new to posting to social media via Swift in an iOS app but need to be able to post an image to Twitter <strong>under a certain hashtag</strong> (i.e the user's image is always posted under this certain hashtag regardless). </p>
  
  <p>So far, my app can take a picture and access the user's photo library, but I have run into some trouble implementing post to Twitter.
  I have looked at the following questions: <a href="https://stackoverflow.com/questions/24197570/post-on-twitter-from-ios-app">Post on twitter from ios app</a>
  <a href="https://stackoverflow.com/questions/21666147/how-to-make-an-ios-app-post-to-twitter">How to make an ios app post to twitter</a></p>
  
  <p>But most of the links referenced are either gone or outdated. I have also looked into Sharekit (<a href="http://getsharekit.com" rel="nofollow noreferrer">http://getsharekit.com</a>) as this would do the posting to Twitter automatically it seems, however Sharekit is deprecated. </p>
  
  <p>Ideally, I would like the user to be able to take their photo (I have this) give it a caption, etc WITHIN THE APP then when they press a button it more or less "silently" posts to Twitter WITH the hashtag that I will have set in the app. I am unsure as to how to accomplish this.</p>
  
  <p>What is the best way/approach to posting an image to Twitter via Swift? The hashtag bit seems to be the more difficult step - how can I "force" a hashtag on the user's post?</p>