Bring creativity to your fingertips with powerful tools and creative supplies that give you everything you need to make beautiful photos in seconds.
デフォルトだと UIImageView に UIImage を貼付けると、どんな縦横比の画像だろうと問答無用で UIImageView のサイズに変換されて貼付けられてしまう。 contentMode を設定する UIImageView の contentMode プロパティに UIViewContentModeScaleAspectFit をセットすることで 画像の縦横比を維持したまま UIImageView に貼付けることが可能となる。 また、contentMode に貼付けることができるのは以下 typedef enum { UIViewContentModeScaleToFill, // これがデフォルト。UIImageViewにめいっぱいひろげる UIViewContentModeScaleAspectFit, // 画像のaspect比を維持し、ちょうどはいるようにする UIV
リリース、障害情報などのサービスのお知らせ
最新の人気エントリーの配信
処理を実行中です
j次のブックマーク
k前のブックマーク
lあとで読む
eコメント一覧を開く
oページを開く