title: addSubview for Storyboard created views
body: <p>At least I think it's a basic problem. I just started working with views programmatically. </p>
  
  <p>In RouteCaptureViewController.h:</p>
  
  <pre><code>@property (strong, nonatomic) IBOutlet UIView *routeCaptureSuperView;
  
  @property(nonatomic, weak) IBOutlet UIImageView *captureImageView;
  @property(nonatomic, retain) IBOutlet UIImageView *previewImageView;
  @property (weak, nonatomic) IBOutlet UIView *captureRouteButtonView;
  </code></pre>
  
  <p>In my storyboard:</p>
  
  <p><img src="https://i.stack.imgur.com/KPFkS.png" alt="enter image description here"></p>
  
  <p>All of the outlets are properly connected, I checked.</p>
  
  <p>I'm implementing addSubview in a method as such and nothing happens:</p>
  
  <pre><code>  [self.routeCaptureSuperView addSubview:self.captureRouteButtonView];
    [self.routeCaptureSuperView addSubview:self.captureImageView];
  </code></pre>
  
  <p>The following lines worked previously in the code:</p>
  
  <pre><code>[self.captureImageView removeFromSuperview];
  [self.captureRouteButtonView removeFromSuperview];
  </code></pre>
  
  <p>And I know <code>self.routeCaptureSuperView</code> is not <code>nil</code> from an NSLog.</p>