title: Not seeing all views in views using views.addSubviews
body: <p>I am running into a basic problem with views on iPad. I have a viewController. The view is using a UIImageView with a full screen image as a background image. I am trying to overlay labels on the top. If I set labels individually, both views show up. If I call a function with the same information only one view shows up. I need to extend it many labels. Here is the code:</p>
  
  <pre><code>class ViewController: UIViewController {
  
  @IBOutlet weak var backGroundImageView: UIImageView!
  var cFrame:[CGRect?] = [CGRect?](repeating: nil, count: 13)
  var offsets:[CGRect?] = [CGRect?](repeating: nil, count: 13)
  var labels: [UILabel?] = [UILabel?](repeating:UILabel(), count:13)
  
  
  override func viewDidLoad() {
      super.viewDidLoad()
      cFrame[0] = CGRect(x:450,y:530,width:251,height:68)
      cFrame[1] = CGRect(x:147,y:676,width:222,height:24)
  
      loadFrameValues()
  
  
      var frame = CGRect(x: 450, y: 520, width: 251, height: 68)
      let label0 = UILabel(frame: frame)
      label0.backgroundColor = .white
      label0.numberOfLines = 0
      label0.lineBreakMode = .byWordWrapping
      label0.textAlignment = .center
      label0.text = "Text 1"
  
      frame = CGRect(x: 152, y: 686, width: 210, height: 16)
      let label1 = UILabel(frame: frame)
  
      label1.backgroundColor = .cyan
      label1.lineBreakMode = .byWordWrapping
      label1.textAlignment = .left
      label1.text = "Text 2"
      label1.font = label1.font.withSize(12)
  
      backGroundImageView.addSubview(label0)
      backGroundImageView.addSubview(label1)
  
     //        showView(label: labels[0]!, frame: cFrame[0]!)
       //        showView(label: labels[1]!, frame: cFrame[1]!)
      //        }
  
  
  
  }
  
  func showView(label: UILabel, frame:CGRect) {
      label.frame = frame
      label.backgroundColor = .white
      label.numberOfLines = 0
      label.lineBreakMode = .byWordWrapping
      label.textAlignment = .center
      label.text = "Syed Tariq"
      backGroundImageView.addSubview(label)
  
  }
  </code></pre>