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
UITableViewCelland use aTWTRTweetViewinside of it. Which is basically whatTWTRTweetTableViewCelldoes, it has a tweetView property which is essentially an IBOutlet of typeTWTRTweetViewand use that in the tableview cell instead.Place the custom label for
like and retweetscounts in proper position on top of theTWTRTweetView.For more info: check this SO post