I want to set custom images to the UIBarButtonItem but it only shows a rectangular box around and It doesn\'t show the actual image.
func setupBrowserToolbar
From swift 3, the method is changed to the following format
UIImage(named:"yourImageName")!.withRenderingMode(.alwaysOriginal)