質問編集履歴

2

回答者による意見で一部変更

2016/02/18 08:15

投稿

chu_xxx_lip
chu_xxx_lip

スコア124

test CHANGED
File without changes
test CHANGED
@@ -86,8 +86,6 @@
86
86
 
87
87
  @IBInspectable var shadowRadius: CGFloat = 2.0
88
88
 
89
- @IBInspectable var bgColor: UIColor = UIColor.whiteColor()
90
-
91
89
 
92
90
 
93
91
  // Only override drawRect: if you perform custom drawing.
@@ -119,10 +117,6 @@
119
117
  // ぼかしの量
120
118
 
121
119
  self.layer.shadowRadius = self.shadowRadius
122
-
123
- // ビューの背景に色を設定
124
-
125
- self.layer.backgroundColor = self.bgColor.CGColor
126
120
 
127
121
 
128
122
 
@@ -182,6 +176,10 @@
182
176
 
183
177
 
184
178
 
179
+ GUIの方で背景を白く設定しましたが、黒いままでした。
180
+
181
+
182
+
185
183
 
186
184
 
187
185
  よろしくおねがいします٩(๑❛ᴗ❛๑)۶

1

画像の追加

2016/02/18 08:15

投稿

chu_xxx_lip
chu_xxx_lip

スコア124

test CHANGED
File without changes
test CHANGED
@@ -174,6 +174,14 @@
174
174
 
175
175
 
176
176
 
177
+ 現在のGUIはこのような感じです。
178
+
179
+
180
+
181
+ https://gyazo.com/fecfb8d1fb2590680d8c0f994145555d
182
+
183
+
184
+
177
185
 
178
186
 
179
187
  よろしくおねがいします٩(๑❛ᴗ❛๑)۶