<?xml version="1.0" encoding="utf-8" standalone="yes"?>
<oembed>
  <author_name>an3714106</author_name>
  <author_url>https://blog.hatena.ne.jp/an3714106/</author_url>
  <blog_title>文系プログラマの勉強ノート</blog_title>
  <blog_url>https://an.hatenablog.jp/</blog_url>
  <categories>
  </categories>
  <description>画面サイズに合わせてUILabelが拡大縮小する場合に、文字サイズも自動調整する方法。 何もしないとどうなるか サンプルとして、5.5inch（ex. iPhone8 Plus）の画面サイズに合わせてレイアウトを作成しました。 青い四角部分がUILabelで、画面サイズに合わせてサイズが変わります。まず iPhone8 Plusで表示した場合。問題ありません。 次にiPhone4sで表示した場合。文字が省略されてしまいました。 これを調整していきます。 1. Autoshrinkを有効にする UILabelにはAutoshrinkという、UILabelのサイズに合わせて文字サイズを自動調整して…</description>
  <height>190</height>
  <html>&lt;iframe src=&quot;https://hatenablog-parts.com/embed?url=https%3A%2F%2Fan.hatenablog.jp%2Fentry%2F2017%2F12%2F03%2F234839&quot; title=&quot;【Xcode】UILabelの文字サイズを自動調整する - 文系プログラマの勉強ノート&quot; class=&quot;embed-card embed-blogcard&quot; scrolling=&quot;no&quot; frameborder=&quot;0&quot; style=&quot;display: block; width: 100%; height: 190px; max-width: 500px; margin: 10px 0px;&quot;&gt;&lt;/iframe&gt;</html>
  <image_url>https://cdn-ak.f.st-hatena.com/images/fotolife/a/an3714106/20171129/20171129235157.png</image_url>
  <provider_name>Hatena Blog</provider_name>
  <provider_url>https://hatena.blog</provider_url>
  <published>2017-12-03 23:48:39</published>
  <title>【Xcode】UILabelの文字サイズを自動調整する</title>
  <type>rich</type>
  <url>https://an.hatenablog.jp/entry/2017/12/03/234839</url>
  <version>1.0</version>
  <width>100%</width>
</oembed>
