|
@@ -14,7 +14,7 @@ class ViewController: UIViewController {
|
|
|
super.viewDidLoad()
|
|
|
view.backgroundColor = .white
|
|
|
|
|
|
- navigationItem.rightBarButtonItem = UIBarButtonItem(title: "下一个", style: UIBarButtonItemStyle.plain, target: self, action: Selector(("next:")))
|
|
|
+ navigationItem.rightBarButtonItem = UIBarButtonItem(title: "下一个", style: UIBarButtonItem.Style.plain, target: self, action: Selector(("next:")))
|
|
|
let btn = UIButton(type: .contactAdd)
|
|
|
btn.frame = CGRect(x: 100, y: 100, width: 100, height: 100)
|
|
|
view.addSubview(btn)
|