How do I connect a IBOutlet to a UIView?
I'm trying to switch views after an animation as seen: [UIView beginAnimations: @"Fade Out" context:nil]; [UIView setAnimationDelay:1.0]; [UIView setAnimationDuration:0.25]; splash.alpha = 0.0; [UIView commitAnimations]; [self.view addSubview : view]; At the [self.view addSubview : view]; I have to add a name for the view for it to add, so I made an IBOutlet like so: (on the first view controller's .h file) IBOutlet UIView *main; But when I try to connect the *main UIView to the view on the storyboard, it wont let me... Thanks so much guys. Your point of confusion is between creating UI