title: Change UIBarButtonIcon in an if and else statement in Swift
body: <p>Inside of an If and else statement I want to change the custom image of my BarButtonItem. How can I Do these by default I already have one custom Image but know I want that under some circumstances it changes to another custom Image.</p>