I added Twitter to my iOS app. I'm using iOS 5's TWTweetComposeViewController in ShareKit. It returns TWTweetComposeViewControllerResultDone. So ShareKit gets to sendDidFinish, and thinks the tweet was successful. It exits smoothly out.
Then after < 1 minute, Apple displays a message:
"Cannot Send Tweet"
"The tweet, "blah blah blah" cannot be sent because the connection to Twitter failed."
I'm in China, and I turned off the VPN, so technically the message is correct. However, how do I know that I'm going to get this message? How do I know if the tweet is finally posted? that way I can keep the "loading" icon still rotating in the background. Is there a notification message that I can listen for?
Thank you