Start a Project

Add color Images in Navigation Bar in IOS.

Images in Navigation Bar

Sometimes we need to set images in UINavigation Item ,but when we set images it will show black and white images ,not color images . so for setting the color full images we have to follow some steps.

1: Take the three images according to 1x ,2x,3x images size.

2: Go to image assets and take new Image Set .

3: Now set images on that according to their sizes.

4: Now take UIBarButton on UINavigationItem and set image name (your image set name ) .

5: Now it will show colorful images .

 

Exit mobile version