title: Get user profile details (especially email address) from Twitter in iOS
body: <p>I am aiming to get a user's details based on his/her Twitter account. Now first of all, let me explain what I want to do.</p>
  
  <p>In my case, user will be presented an option to <strong>Sign-up</strong> with Twitter account. So, based on user's Twitter account, I want to be able to get user details (e.g. email-id, name, profile picture, birth date, gender etc..) and save those details in database. Now, many people will probably suggest me to use <code>ACAccount</code> and <code>ACAccountStore</code>, a class that provides an interface for accessing, manipulating, and storing accounts. But in my case, I want to sign up user, even if user has not configured an account for Twitter in iOS Settings App. I want user to navigate to login screen of Twitter (in Safari or in App itself, or using any other alternative).</p>
  
  <p>I have also referred the documentation of Twitter having API list <a href="https://dev.twitter.com/rest/reference/get/users/show" rel="nofollow noreferrer">here</a>. But I am a lot confused how user should be presented a login screen to log into the Twitter account and how I will get profile information. Should I use <code>UIWebView</code>, or redirect user to Safari or adopt another way for that ?</p>