When you say "code breaks" what exactly is happening?
And, actually, [UIImage imagedNamed:] is going to load that image from the bundle into RAM. I still wouldn't do that within drawRect.
But in any case, let's fix the problem first I guess. Are you sure mvc.imagePath gives you the correct path?
|