title: How to set the color of the image view in UIButton on type Custom?
body: <p>I've tried everything and nothing is happening. It just stays black. Am I missing something? I tried using the UIButton's image view but it doesn't make a change.</p>
  
  <pre><code>lazy var addFriendButton: UIButton = {
      self.friendButton = UIButton(type: .Custom)
  
  
      self.friendButton.bounds = CGRectMake(0, 0, 120, 80)
      self.friendButton.backgroundColor = UIColor.redColor()
      self.friendButton.translatesAutoresizingMaskIntoConstraints = false
      self.friendButton.setTitle("Add Friend", forState: .Normal)
      self.friendButton.titleLabel?.font = UIFont(name: "HelveticaNeue", size: 12)
      self.friendButton.addTarget(self, action: #selector(addFriend), forControlEvents: .TouchUpInside)
  
  
      let addButtonImage = UIImage(named: "AddFriend")
      addButtonImage?.imageWithRenderingMode(.AlwaysTemplate)
  
  
  
      self.friendButton.setImage(addButtonImage, forState: .Normal)
      self.friendButton.setTitleColor(UIColor.darkGrayColor(), forState: .Normal)
      self.friendButton.imageView?.image = addButtonImage
      // Not working here
      self.friendButton.imageView?.tintColor = UIColor.whiteColor()
      return self.friendButton
  }()
  </code></pre>