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.
私のアプリには、画像を追加するオプションがあります。画像を追加すると、画像を追加しなくても、常に白い背景が表示されます。どうすればそれを取り除くことができますか? (私の画像はすべて透明 (png) です) ありがとうございます。
ビューの背景色を、画像を追加するクリア カラーに設定します。例えば:
imgView.backgroundColor=[UIColor clearColor];