Open lfarah opened 8 years ago
My code:
let width = view.frame.width - 30 let myView1 = UIView(x: 15, y: view.center.y - 50, w: width, h: 60) myView1.backgroundColor = .redColor() let myView2 = UIView(x: 15, y: view.center.y - 50, w: width, h: 60) myView2.backgroundColor = .greenColor() let myView3 = UIView(x: 15, y: view.center.y - 50, w: width, h: 60) myView3.backgroundColor = .blueColor() let alert = TKSwarmAlert() alert.show(type: .BrightBlur, views: [myView1, myView2, myView3])
My code: