@Paradigm777 Well kinda but I relize that the issue actually lies on a resetPressed function which sets the 'mainUIView' to nil. This function is intended to provide a clean canvas for subsequent operations but inadvertently results in the content stored in the 'canvasArray' being set to nil as well. I tried to avoid this by saving a copy of it in my saveCanvas function in this segment savedImageView2.image = mainImageView.image?.copy() as? UIImage