TWTweetComposeViewController does not show link preview

When I add a link to tweets in TWTweetComposeViewController, I see the correct link:

enter image description here

But unlike when I do this in Safari, the link does not show a preview of a URL such as Safari (or Youtube):

enter image description here

Do you know that this is a hidden function or depends on the link added to the tweet?

Thank!

+5
source share
1 answer

It was my experience, if you added the URL, TWTweetComposeViewController will not automatically add the preview image.

, Twitter.framework, , - (BOOL)addURL:(id)arg1 withPreviewImage:(id)arg2;. , , , , , . , , , , App Store.

+7

All Articles