title: How do I get the font name from an otf or ttf file?
body: <p>I have used a custom font in my previous app.</p>
  
  <p>The file name was "ProximaNova-Regular.otf" and to load the font I just used...</p>
  
  <pre><code>[UIFont fontWithName:@"ProximaNova-Regular" size:20];
  </code></pre>
  
  <p>This worked perfectly.</p>
  
  <p>Now in this new app I have three font files...</p>
  
  <pre><code>Dude_Willie.otf
  Impact
  handsean.ttf
  </code></pre>
  
  <p>But I'm not sure how to load these.</p>
  
  <p>I have tried</p>
  
  <pre><code>[UIFont fontWithName:&lt;the file name&gt; size:20];
  </code></pre>
  
  <p>But this just falls back to using Helvetica.</p>
  
  <p>How can I find what name to use?</p>