Two links in a table view cell swift 2

0

I'm doing an app in Swift 2 , and I have a UITableView with tweets that I get with the Twitter API, and I show the profile image, the user name, the publication date and the content of the tweet. What I want is that if I click on the image it will take me to its profile, and if I click on the tweet it will take me to the tweet. How can I do so that within a UITableViewCell I can have two links?

    
asked by mhergon 15.06.2016 в 07:44
source

1 answer

0

Very simple, make that by clicking on the cell you open the tweet. Then add a UITapGestureREcognizer to the image or make the image a UIButton instead of a UIIMageView

    
answered by 15.06.2016 / 10:03
source