title: Loading PDF file from Resource directory in iPhone crashes
body: <pre><code>NSURL *pdfURL = [[NSBundle mainBundle] URLForResource:@"sampleLayout.pdf" withExtension:nil];
  </code></pre>
  
  <p>This above line warns <code>NSBundle</code> may not respond to <code>-URLForResource:withExtension:</code>
  and the app crashes while loading the PDF file from this URL path.</p>