Search code examples
iosswifttwittertwitter-fabric

Twitter Fabric TWTTweet image shrinks


I am using fabric for showing the tweetView everything is fine but sometimes some tweets has images with a wrong size

 self.tableView.register(TWTRTweetTableViewCell.self, forCellReuseIdentifier: "tweetCell")

 TwitterOAuth.getTimelineTweets(String(self.count), completion: { (data) in
                if let trendArr = data as? NSArray {
                    self.homeTweets = TWTRTweet.tweets(withJSONArray: trendArr as [AnyObject]) 
                    self.tableView.reloadData()
                }
           })

enter image description here

Any idea? Thanks


Solution

  • Mike from Fabric here. This was a bug in version 2.4.0, version 2.5.0 has the fix. From the release notes here:

    "Fixed bug where Retweets with photos did not layout correctly".

    If you update to the latest version, the issue should be resolved.