Become a MacRumors Supporter for $50/year with no ads, ability to filter front page stories, and private forums.

rand0m3r

macrumors regular
Original poster
Jun 30, 2006
115
1
hi. i'm trying to draw an image onto my subclassed UIView by putting the following in the drawRect method:

UIImage *menuButton = [UIImage imageNamed:mad:"menu button.png"];
[menuButton drawInRect:CGRectFromString(@"0,0,TIME LABEL WIDTH PORTRAIT,HEADING HEIGHT")];

however, i don't see any image.
 
Register on MacRumors! This sidebar will go away, and you'll see fewer ads.