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

rand0m3r

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

UIImage *menuButton = [UIImage imageNamed😡"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.