<?xml version="1.0" encoding="utf-8" standalone="yes"?>
<oembed>
  <author_name>komaji504</author_name>
  <author_url>https://blog.hatena.ne.jp/komaji504/</author_url>
  <blog_title>ドン・エンジニーア</blog_title>
  <blog_url>https://komaji504.hateblo.jp/</blog_url>
  <categories>
    <anon>iOS</anon>
    <anon>Xcode</anon>
  </categories>
  <description>Storyboard で UILabel を選択し、 Attributes inspector から Lines を 0 にするだけです。 この値が UILabel の行数で、デフォルトの 1 のままだと 1 行固定となり、 テキストが複数行にわたる場合は、 ... と省略されて表示されるようになります。 今回のように 0 にすると、行数にかかわらず複数行で表示することが可能となります。 ちなみに、UILabel の height が固定になっていると、その height で表示できる行数だけしか表示されず、以降のテキストは ... と省略されてしまいます。 そのため、この設定とは別に高さが可…</description>
  <height>190</height>
  <html>&lt;iframe src=&quot;https://hatenablog-parts.com/embed?url=https%3A%2F%2Fkomaji504.hateblo.jp%2Fentry%2F2016%2F07%2F31%2F171606&quot; title=&quot;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/k/komaji504/20160731/20160731171427.png</image_url>
  <provider_name>Hatena Blog</provider_name>
  <provider_url>https://hatena.blog</provider_url>
  <published>2016-07-31 17:16:06</published>
  <title>UILabel の行数を可変にする</title>
  <type>rich</type>
  <url>https://komaji504.hateblo.jp/entry/2016/07/31/171606</url>
  <version>1.0</version>
  <width>100%</width>
</oembed>
