Hi,
I am having a strange issue regarding the video tweets. Let me explain the issu by examples.
These two videos are rendered differently in the TWTRTweetView:
I have checked the tweets’ object got from loadTweetWithID:
//816267588879663105
<TWTRTweet: 0x17414dcb0; tweetID = 816267588879663105; createdAt = 2017-01-03 12:58:53 +0000; text = “The marchers arrive on merrion st #apollohouse @rtenews @hom https://t.co///Bmg0bbs9Ue”; author = <TWTRUser 0x174a4ce70; userID = 246724581; name = “Conor Hunt”; screenName = “conorfhunt”>>
//811621806624935936
<TWTRTweet: 0x17414e230; tweetID = 811621806624935936; createdAt = 2016-12-21 17:18:12 +0000; text = “Home Sweet Home thank public for support after judge grants temporary stay on order to leave Apollo House. More:… https://t.co/9X8omv8AwY”; author = <TWTRUser 0x17484ac80; userID = 8973062; name = “RTÉ News”; screenName = “rtenews”>>
I dont see any major difference.
The code I am using is:
TWTRAPIClient *client = [[TWTRAPIClient alloc] initWithUserID:nil];
[client loadTweetWithID:tweetID completion:^(TWTRTweet *tweet, NSError *error) {
if (tweet && !error) {
TWTRTweetView *tweetView = [[TWTRTweetView alloc] initWithTweet:tweet style:TWTRTweetViewStyleRegular];
tweetView.frame = self.bounds;
[self addSubview:tweetView];
tweetView.hidden = YES;
tweetView.showActionButtons = YES;
tweetView.showBorder = YES;
self.tweetView = tweetView;
tweetView.autoresizingMask = UIViewAutoresizingFlexibleWidth | UIViewAutoresizingFlexibleHeight;
tweetView.layer.borderWidth = 1.0;
tweetView.hidden = NO;
}
}
Is this valid behaviour? If Yes, why? If not, how can i fix it…
Thank you.