Advertisement
Guest User

Untitled

a guest
Jul 13th, 2018
65
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Swift 0.45 KB | None | 0 0
  1.         if let _ = notification {
  2.             self.navigationItem.leftBarButtonItem = nil
  3.             //put x on the right
  4.             self.navigationItem.rightBarButtonItem = UIBarButtonItem(image: UIImage(named: "x"), style: .plain, target: self, action: #selector(AttivaOkeySmartInfograficaVC.closeModal))
  5.             self.navigationItem.rightBarButtonItem?.tintColor = UIColor.white
  6.             self.navigationItem.accessibilityLabel = "Chiudi"
  7.         }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement