How to add UIImage to UIImageView in swift?

0 votes
309 views
asked Nov 25, 2014 in Swift by john (4,220 points)
HI all

  How to add UIImage to UIImageView in swift?

1 Answer

0 votes
answered Nov 25, 2014 by admin (8,115 points)

Try this code

  var image : UIImage = UIImage(named: "appicon.jpg")!

        cell.feedImage.image = image

...