I have been trying to set a UIImageView background color (see below) in awakeFromNib
[imageView setBackgroundColor:[UIColor colorWithRed:0 green:0 blue:0 alp
In case you're using a UIView subclass instead of a UIViewController subclass, you can override loadView method:
loadView
- (void)loadView { [super loadView]; //IBOutlets are not nil here. }