title: How to add QLPreviewController as Subview in objective C
body: <p>Is it possible to add QLPreviewController to UIView as sub view.</p>
  
  <p>I tried like this </p>
  
  <pre><code>[self.view addSubview:previewViewController.view] 
  </code></pre>
  
  <p>I also called <code>reloadData</code> </p>
  
  <pre><code>[previewViewController reloadData];
  </code></pre>
  
  <p>I check with this URL <a href="https://stackoverflow.com/questions/8043305/adding-qlpreviewcontroller-as-subview-doesnt-load-pdf">Adding QLPreviewController as subview doesn&#39;t load PDF</a> . But I did not understand what is <code>self.pdfPreviewView</code></p>
  
  <p>Please guide me how I can add QLPreviewController as sub view..</p>