UIActivityViewController destroys texts in twitter sharer if they are too long

Originator:supergradha
Number:rdar://12737558 Date Originated:21-Nov-2012 05:34 PM
Status:Closed Resolved:DUPLICATE OF 10469407
Product:iPhone SDK Product Version:6.0
Classification:Crash/Hang/Data Loss Reproducible:Always
 
21-Nov-2012 05:34 PM Grzegorz Adam Hankiewicz:
Summary:
When UIActivityViewController is passed an array with a text longer than 140 characters and the user wants to share that on twitter, the text is emptied. The same thing happens if an image is added to the array: the image is displayed but the text is missing.

Steps to Reproduce:
Create a UIActivityViewController with the initWithActivityItems: method using an array containing a long text (over 140 characters) and an image. Display to the user and share on twitter and facebook. The facebook composer shows the whole text, the twitter composer doesn't show any text.

Expected Results:
Truncation of the text on the view controller for the maximum size allowed by twitter according to the additional attachements, or overflowing of the text letting the user trim the text manually before being allowed to send the actual tweet.

Actual Results:
Unexpected total loss of the text data shared by the user, resulting in a useless experience.

Regression:
This happened in iOS 5.x too but I didn't care to fill in a bug because I could manually trim the text before passing the text to the twitter composer. However, now that the UIActivityViewController is a "hands off" approach, this doesn't work. I might want to share a long text on facebook, which I can, it's just the twitter composer that is useless because it drops the ball.

21-Nov-2012 05:34 PM Grzegorz Adam Hankiewicz:
'screenshots.zip' was successfully uploaded

Comments

Apple Developer Relations December 18 2012, 11:00 PM

This bug has been closed as Duplicate. We are aware of this issue and are tracking it under the Bug ID listed below in the Related Problem section of your bug report. To check the status of the original bug report, please visit the Related Problem section of the Problem Detail view of your closed duplicate bug.

DUPLICATE OF 10469407

By supergradha at Oct. 13, 2018, 4:33 p.m. (reply...)

Please note: Reports posted here will not necessarily be seen by Apple. All problems should be submitted at bugreport.apple.com before they are posted here. Please only post information for Radars that you have filed yourself, and please do not include Apple confidential information in your posts. Thank you!