Skip to content

Instantly share code, notes, and snippets.

@PDMackinnon
Created February 2, 2014 20:09
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save PDMackinnon/8774068 to your computer and use it in GitHub Desktop.
Save PDMackinnon/8774068 to your computer and use it in GitHub Desktop.
This how to make a background image for the table view (iOS 7 & xcode)
// This how to make a background image for the table view
// you must also make the cell background colour clear in the story board
//in table view controller header file - and obtained by ctrl/right dragging imageview to the .h file
@property (strong, nonatomic) IBOutlet UIImageView *backImage;
//in table view controller implementation (.m) file and in viewDidLoad method:
[[self tableView] setBackgroundView:self.backImage];
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment