|
@@ -33,14 +33,15 @@ class ContactProfileViewController: UITableViewController {
|
|
|
|
|
|
override func viewDidLoad() {
|
|
override func viewDidLoad() {
|
|
super.viewDidLoad()
|
|
super.viewDidLoad()
|
|
-
|
|
|
|
- // Uncomment the following line to preserve selection between presentations
|
|
|
|
- // self.clearsSelectionOnViewWillAppear = false
|
|
|
|
-
|
|
|
|
- // Uncomment the following line to display an Edit button in the navigation bar for this view controller.
|
|
|
|
- // self.navigationItem.rightBarButtonItem = self.editButtonItem
|
|
|
|
|
|
+ let dotsImage:UIImage = #imageLiteral(resourceName: "ic_more_vert")
|
|
|
|
+ let dotsButton = UIBarButtonItem(image: dotsImage, landscapeImagePhone: nil, style: .plain, target: self, action: #selector(didPressDotsButton))
|
|
|
|
+ self.navigationItem.rightBarButtonItem = dotsButton
|
|
}
|
|
}
|
|
|
|
|
|
|
|
+ @objc func didPressDotsButton() {
|
|
|
|
+ print("pressed")
|
|
|
|
+ }
|
|
|
|
+
|
|
override func didReceiveMemoryWarning() {
|
|
override func didReceiveMemoryWarning() {
|
|
super.didReceiveMemoryWarning()
|
|
super.didReceiveMemoryWarning()
|
|
// Dispose of any resources that can be recreated.
|
|
// Dispose of any resources that can be recreated.
|