Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
UIViewContentModeScaleAspectFillが画像をクリップする場所を制御する方法はありますか?私の場合、画像は常に画像の中央にクリップされます。上部をクリップで留めることはできますか?
ありがとう!
アントニオ
の現在の実装はUIViewContentModeScaleAspectFill、あなたが指摘したように画像を中央に配置することです。私の知る限り、この動作を変更する方法はありません。
UIViewContentModeScaleAspectFill