0

使用 UIView 的 drawRect 时出现错误“使用未声明的类型 CGRect”。附上截图。

override   func drawRect(rect: CGRect) {
  UIColor.greenColor().setFill();
}

截屏

4

0 回答 0