Lawrence Gimenez

UIKit Drawing Tutorial Fix

I tried the tutorial from but the behavior was incorrect. The canvas or UIImageView seems to move after lifting my finger.

It tried to run the official project from but it has the same strange behavior.

Luckily I found a solution, you need to change this line inside touchesEnded function

// from

// change to 

And that's it.