ios - Adding an image to a tab bar item only shows up as a block -


i have tab bar should have image selected index.

below sample-image sould used inside tab bar.

tab bar image want add

i have added selecting connected view controller assigned tab bar item , replacing image. appears on screen. assigned graphics not appearing on tab bar.

the middle icon

you can add line self.tabbaritem.image = uiimage(named: "icono-menu")?.withrenderingmode(.alwaysoriginal) in item viewcontroller viewdidload

something this

override func viewdidload() {         super.viewdidload()         // additional setup after loading view, typically nib.         self.tabbaritem.image = uiimage(named: "icono-menu")?.withrenderingmode(.alwaysoriginal)     } 

Comments

Popular posts from this blog

sql - Time in datatime field -

javascript - How to split the success output from an Ajax post? -

java - sharing object across different classes -