title: "Dynamic Type" Changing font size of the button
body: <p>I am changing text size in the button when user selects prefered text size in the settings. I am doing it like that:</p>
  
  <pre><code>UIFont *font = [UIFont preferredFontForTextStyle:UIFontTextStyleBody];
  
  self.button.font = font;
  </code></pre>
  
  <p>It does work, but I get an error:</p>
  
  <blockquote>
    <p>font is deprecated:first deprecated in IOS 3.0</p>
  </blockquote>
  
  <p>I wonder if there is another, more proper way to achieve it.</p>