Skip to content

Instantly share code, notes, and snippets.

Created Mar 21, 2011
What would you like to do?
CGRect imageFrame = CGRectZero;
imageFrame.size.height = 150;
imageFrame.size.width = 200;
imageFrame.origin.x = 59;
imageFrame.origin.y = 20;
UIImageView *imageView = [[UIImageView alloc] initWithFrame:imageFrame];
imageView.image = [UIImage imageNamed:@"tomatoes.jpg"];
[self.tableView.tableHeaderView addSubview:imageView];
[imageView release];
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment