I’m developing an app for iOS that use the new Twitter framework.
I have a webView, how can I know the current url? And how can I use for create a Tweet?
Sorry for my bad English and thanks!
Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.
Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.
Lost your password? Please enter your email address. You will receive a link and will create a new password via email.
Please briefly explain why you feel this question should be reported.
Please briefly explain why you feel this answer should be reported.
Please briefly explain why you feel this user should be reported.
You can retrieve the current URL from the web view as follows:
webView.request.URLTo allow the user to post to Twitter, you can display a
TWTweetComposeViewControllerwhich has anaddURL:method. To send without user interaction you need to create a TWRequest with the relevant data (refer to Twitter’s API docs for the correct HTTP requests).