Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- if let _ = notification {
- self.navigationItem.leftBarButtonItem = nil
- //put x on the right
- self.navigationItem.rightBarButtonItem = UIBarButtonItem(image: UIImage(named: "x"), style: .plain, target: self, action: #selector(AttivaOkeySmartInfograficaVC.closeModal))
- self.navigationItem.rightBarButtonItem?.tintColor = UIColor.white
- self.navigationItem.accessibilityLabel = "Chiudi"
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement