How to set the action for a UIBarButtonItem in Swift How to set the action for a UIBarButtonItem in Swift ios ios