Twitter Sheet Image is not attached - iOS

后端 未结 1 1023
心在旅途
心在旅途 2021-01-24 20:11

Eventhough I am resizing image, but still I am not getting my image on the twitter sheet.

  - (void)twitterButtonPressed {


    NSString *post=[[NSString allo         


        
相关标签:
1条回答
  • It looks like your tweet is too long for two links to be added (images are added as links when shared via Twitter).

    Theoretically, a URL should only consume 20 characters in a tweet (+ spaces) because should be shortened automatically, but it seems that the iOS tweet sheet doesn't work that way. Through some experimentation I've found that you can have at most 71 characters in the tweet when you want to add both an image and a URL.

    0 讨论(0)
提交回复
热议问题