Created
February 2, 2014 20:09
-
-
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 file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// 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