Start a Project

 UINavigation and UITabBar for Xcode 13

Hello guys, today we learn about the issue of UINavigation and UITabBar for Xcode 13 in iOS version 15.0

As we can see nowadays we all are facing issues with Navigation and Tab bar tint color with Xcode 13 in iOS 15.0 version. when we are applying navigation or tab bar color and run the project it shows transparent color of navigation and tab bar.

Getting Start:- Let’s take an example, for this, I am creating a UI design in my storyboard.

step1:- Firstly, create a new Xcode project

File–>New–>Project–>iOS–>Next And Add your project name and then create

Step 2:-  Add UINavigation and UITabBar for Xcode 13

Secondly, I choose the navigation and tab bar controller from the Editor section

Then, run the project and see the result navigation and tab bar color getting transparent, you may see the attached video

https://mobikul.com/wp-content/uploads/2022/03/Screen-Recording-2022-03-29-at-6.54.55-PM.mov

Solution:-

To remove this issue, add some lines of code in AppDelegate class in the didFinishLaunchingWithOptions function.

Now, add the code for navigation appearance.

Then, add the code for tab bar appearance

Lastly, combine all code in the App delegate class

At last, run your project and see the output

https://mobikul.com/wp-content/uploads/2022/03/Screen-Recording-2022-03-29-at-6.53.31-PM-1.mov

so, you see the result there is no invisibility issue occur.

Conclusion:-

In this blog, we discussed UINavigation and UITabBar for Xcode 13

I hope this blog will help you to solve the bar tint color issue of the top and bottom bar

Thanks for reading!!

Exit mobile version