title: Custom font iOS in Today Widget always return nil
body: <p>I was trying to add custom font to my today extension but <code>UIFont</code> always return <code>nil</code>.</p>
  <p>Steps:</p>
  <ol>
  <li>I added the font file to Today Widget target:</li>
  </ol>
  <p><a href="https://i.stack.imgur.com/DYUZp.jpg" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/DYUZp.jpg" alt="enter image description here" /></a></p>
  <ol start="2">
  <li>I check if the font file was inside the Today Widget bundle:</li>
  </ol>
  <p><a href="https://i.stack.imgur.com/COalL.jpg" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/COalL.jpg" alt="enter image description here" /></a></p>
  <ol start="3">
  <li>I init the font instance in the <code>TodayViewController</code> of Today Widget but it always return <code>nil</code>:</li>
  </ol>
  <pre class="lang-objectivec prettyprint-override"><code>- (void)viewDidLoad {
      [super viewDidLoad];
      UIFont* ft = [UIFont fontWithName:@&quot;octicons-local&quot; size:20];
  }
  </code></pre>
  <p><a href="https://i.stack.imgur.com/E3jHt.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/E3jHt.png" alt="enter image description here" /></a></p>
  <p>I used the same method in my main project, and I can get the custom font. How can I fix it?</p>