I have set a UIView in my storyboard and make it an outlet.
UIView
storyboard
@property (nonatomic, weak) IBOutlet UIView *testView;
Assuming its connected to your XIB do the following after changing the view -
[self.view setNeedsDisplay];