In twitterKit, there is a tweetView
for displaying the Tweet
from tweet model object, but there is no field for showing retweets and likes counts in the tweetView.
cell.tweetView.showActionButtons = true;
This allow us to show action buttons for favorite and share. But I want to show the retweet/likes counts in each tweets. How can I achieve?
Just subclass a regular
UITableViewCell
and use aTWTRTweetView
inside of it. Which is basically whatTWTRTweetTableViewCell
does, it has a tweetView property which is essentially an IBOutlet of typeTWTRTweetView
and use that in the tableview cell instead.Place the custom label for
like and retweets
counts in proper position on top of theTWTRTweetView
.For more info: check this SO post