I don’t think so. I use Twitter app and Tweetbot and both of them work.
As I said before, it does not work on my phone that has 2 Twitter accounts configured but it works on my friends phone with 1 account. I believe this is main issue.
Scenarios I tried in Swift:
- 1 twitter user on iOS, not authorized to my twitter app - WORKS
- 1 twitter user on iOS, authorized to my twitter app - WORKS
- 2 users on iOS - authorized to my twitter app - FAILS
- 2 users on iOS - not authorized (access was revoked) to my twitter app - FAILS
Your example in Obj-C:
- 2 users on iOS - authorized to my twitter app - WORKS (difference to Swift is that this one opens in-app browser and ask me to log in again to Twitter)
My dropbox link should work already: https://dl.dropboxusercontent.com/u/1824765/test-twitter.zip
Please check how it behaves here as I could reproduce it on this project.
Differences to Obj-C project you posted:
- It uses Swift
- I have TwitterKit imported using Pods
- I put UIButton on Storyboard and changed his callback later in viewDidLoad instead of using
addSubview
I hope you can resolve this problem.
If you need more assistance please let me know. I am also right now in SF so I could even drop by to office (I would love to!) 