UIBarButtonItem

In this Swift tutorial, you will learn how to create a UIBarButtonItem with an image programmatically. It will be a short tutorial, but it will cover the following code snippets in Swift: Creating a UIBarButtonItem with an image. Adding the UIBarButtonItem to the navigation bar. Handling the tap event of the UIBarButtonItem. If you are new to UIBarButtonItem, please check…

Read More UIBarButtonItem with Image Example in Swift

In this Swift tutorial, you will learn how to create UIBarButtonItem programmatically without using the storyboard or the interface builder. I will cover topics such as: Create UIBarButtonItem programmatically. How to set the right sidebar button item rightBarButtonItem. How to set the left sidebar button item leftBarButtonItem. How to set target action on UIBarButtonItem to…

Read More Create UIBarButtonItem Programmatically