title: add image on top to UILabel Swift
body: <p>i'm a new developer for ios. Is there a way where i could add a UIImageView on top of a UILabel ? I tried this but image is hidden from UILabel :( </p>
  
  <pre><code> var imageTick:UIImage = UIImage(named: "Trash-icon.png")
      var imageView:UIImageView = UIImageView(frame: CGRectMake(self.bounds.size.width-50, self.bounds.size.height/2, 30, 30))
      imageView.image = imageTick
      labelTick.addSubview(imageView)
      self.addSubview(labelTick)
  </code></pre>