hi. i've got the following code in my drawRect but nothing is coming out on the screen:
// Drawing the current person's display picture
CGImageRef image = [[appDelegate.people objectAtIndex:appDelegate.currentPersonNum] image2];
CGRect imageRect;
imageRect.origin = CGPointMake(8.0, 8.0);
imageRect.size = CGSizeMake(64.0, 64.0);
CGContextDrawImage(context, imageRect, image);
has anyone had any success with drawing images in your subclassed UIView? cheers.
// Drawing the current person's display picture
CGImageRef image = [[appDelegate.people objectAtIndex:appDelegate.currentPersonNum] image2];
CGRect imageRect;
imageRect.origin = CGPointMake(8.0, 8.0);
imageRect.size = CGSizeMake(64.0, 64.0);
CGContextDrawImage(context, imageRect, image);
has anyone had any success with drawing images in your subclassed UIView? cheers.