swiftについての質問です。
以下のように宣言したラベルをremoveFromSuperview()を利用して他のラベルを消すことなく描画を消すことは可能でしょうか?
質問内容に不備がありあましたらすぐに対応しますのでご回答宜しくお願いします。
let module_label = UILabel(frame: CGRectMake(1146, 4, 215, 60)); module_label.text = "MODULE" module_label.backgroundColor = UIColor.blueColor() module_label.textAlignment = NSTextAlignment.Center//センター揃 module_label.font = UIFont(name: "Euphemia UCAS", size: 29) module_label.textColor = UIColor.whiteColor() self.view.addSubview(module_label);
回答1件
あなたの回答
tips
プレビュー
バッドをするには、ログインかつ
こちらの条件を満たす必要があります。