回答編集履歴
1
訂正
test
CHANGED
@@ -19,3 +19,7 @@
|
|
19
19
|
[UIImage](https://developer.apple.com/documentation/uikit/uiimage)には背景色のプロパティは存在しないので、設定することはできません。
|
20
20
|
|
21
21
|
[UIImageView](https://developer.apple.com/documentation/uikit/uiimageview)は`UIView`を継承しているので背景色のプロパティがあり、設定することは可能です。
|
22
|
+
|
23
|
+
|
24
|
+
|
25
|
+
質問のコードの中では`image`と`imageBack`の2つを混同されていると思われます。
|