-10 flag- 兩個顏色就可完成的國旗

那時,這是我最想去的地方!
hallstatt
import UIKit
@底圖
let rect = CGRect(x: 0, y: 0, width: 300, height: 210)
let backgroundView = UIView(frame: rect)
backgroundView.backgroundColor = UIColor(red: 1,green: 0,blue: 0,alpha: 1)
@白色框框
let rectWhite1 = CGRect(x: 0, y: (backgroundView.frame.height)/3, width: 300, height: 70)
let rectWhite1_View = UIView(frame: rectWhite1)
rectWhite1_View.backgroundColor = UIColor(red: 1,green: 1,blue: 1,alpha: 1)
@兩個合起來,奧地利國旗
backgroundView.addSubview(rectWhite1_View)