I want to add Label on UIImage
, for this I have used One Label And adding this on Image Using imgImage.addSubview(txtLabel)
.Now I want to Save That Image in Galley. For Saving the Image I have Used below method.
@IBAction func btnSave(_ sender: AnyObject) {
UIImageWriteToSavedPhotosAlbum(imgImage.image!, self, #selector(image(_:didFinishSavingWithError:contextInfo:)), nil)
}
But It will not saving image with Label. How can I achieve it.
Please Help
Thanks!