IOS ActivityView Twitter Wrong URL Length

In iOS 6 and iOS 7, if I split the text:

www.google.com is such a cool website, I really enjoy going to it. You should check out the other one too! www.facebook.com

He says the text is too long for -15 characters. However, if I use the same text on Twitter.com or OS X, I'm fine (by 3 characters).

I use UIActivityViewControllerto share through UIActivityTypePostToTwitter. Just send it in UIActivityViewControlleras NSString.

It seems like URL shortening is completely broken on iOS. How can I get around this?

+4
source share
1 answer

- , 109 , URL- , 0 . , URL 22 , Twitter, iOS 31 .

URL 27 , 113 . 140 , (aka UIActivityViewController) , 4 .

, 123 , 14 www.google.com, 16 www.facebook.com, 31 URL-, 155 , -15 .

TL;DR: URL-, Twitter UIActivityViewController, 31 .

+1

All Articles