Presenting the Drawn Canvas to User

suggest change

Swift

let image = UIGraphicsGetImageFromCurrentImageContext()
imageView.image = image //assuming imageView is a valid UIImageView object

Objective-C

UIImage *image = UIGraphicsGetImageFromCurrentImageContext();
imageView.image = image; //assuming imageView is a valid UIImageView object

Feedback about page:

Feedback:
Optional: your email if you want me to get back to you:



Table Of Contents