title: In Swift looking to align a watermark to the left instead of the right
body: <p>I purchased an app template that I need a bit of help with. The app contains images that, when sent to the sharing page, get a watermark overlaid. The developer opted to place this watermark at the bottom right, but I need it at the bottom left. Can you please help me move it to that position? Here is the section of code that controls the watermark:</p>
  
  <pre><code>    guard let watermark = UIImage(named: "watermark") else { return}
      UIGraphicsBeginImageContextWithOptions(originalImage.size, true, originalImage.scale)
      drawingImageView.image?.draw(at: .zero)
      let posX = originalImage.size.width - watermark.size.width
      let posY = originalImage.size.height - watermark.size.height
      watermark.draw(at: CGPoint(x: posX, y: posY))
      drawingImageView.image = UIGraphicsGetImageFromCurrentImageContext()
      UIGraphicsEndImageContext()
  </code></pre>