In this video we will learn how to set up a tab bar controller with navigation controllers. This is a popular design / navigation pattern used by millions of apps on iOS. We will be working from scratch in Swift!
#swift #ios #tabs
💻 Source Code:
🎥 Subscribe for more:
😎 Like my teaching style? Check out some of my most popular courses:
This video is brought to you by Skillshare – an only community of teachers sharing awesome skills. Use the following link to get 2 months of FREE premium:
Timestamps
0:00 Intro
1:02 Create Xcode Project
2:02 Tab Bar Controller
5:40 Titles
6:30 Create Action
7:20 Testing Navigation
8:00 Wrap Up
Watch more new videos about iOS Academy | Synthesized by Mindovermetal English
Enjoy my teaching style? Learn to build the TikTok App from scratch with my course!
https://ios-academy.teachable.com/p/building-tiktok-for-ios
Bro i Have a question i have a LoginVc if i want to reach TabbarC i use navigation controller.push so it show me Back btn so i didnt need that because i am checking if user Is logging ? How to reach using storyboard not programmatically thanks
How did you create that tab bar you have at the preview image of the video? Specially the alien icon. Thanks!
please help! I did all the steps in the video, but my xcode says that the tab controller is unreachable. What should I do?
Misleading thumbnail 😐
Do you know of any way to have the app show the second tab on viewdidload? I tried self.tabBarController.selectedIndex = 1 but that's not doing anything. I also tried it in viewdidappear.
can i create buttons in the home view that take me to the settings view?
how can I move the tab bar to the top of the screen?
thank you sir, I was looking for this 🙂
Thanks for this vid. However mine can’t swipe between tabs. I have to click the button at the bottom of the screen. Did I miss something?
How to add images instead of text? please let me know
Thank you for awesome tutorials, they help so much!
This is an amazingly simple way to do this. Thank you for sharing!
What are you doing at 6:59?
GREAT Tutorial!
How do we add icons to the tab bar for each page???
there's no need to use a navigation controller. you can just use tab bar item on an empty view controller and link it to the main tab bar controller. anyway, nice video
Why do you need to create a new ViewController when the button is tapped? I'm not quite clear on that.
What antivirus softwares do you recommend / use?
thankkk u alot ٨_٨
Thank you so much! It is my first-day writing IOS Apps, and this video is such a good helper.
Great video !!!
Thank you so much !!!!
I was trying to embed navigation controller in tab bar controllar itself smh
I can’t click and drag to connect the tab bar to the nav controller?
I noticed when you go to the third vc and then back to the second, the red vc is still on the stack. Is there a best way to remove the red from the stack when you navigate to another vc via the tab bar? Are there any significant memory issues keeping it on the stack?
Can you port this to SwiftUI!?
How come you want to put them all through navigation controller stacks?
Thank you so much! I love this channel!
do you have a downloadable project?
click bait thumbnail. 👎🏻
Nice tutorial but I am struggling implementing this into an app that I have already made with multiple VCs. I have a bunch of VCs that are all embedded in a single navigation bar. Confused on where to really go from here because I don't know if I am supposed to now make more than one navigation bar for each vc instead of using the single one.
how do you add the center raised image in the photo of your iPhone
great vid!
how come the default isn't used and why use this way? what's the difference?
AMAZING VIDEO!!!! this is really great content!! keep this up!
Thats an amazing video. thank you, man.
If we run SFSafariViewController in one tab, can we make it run behind the tab bar? So that other tab are accessible, if not, what options do I have?
I run the simulator but it shows “hello, world” only, no tab bar, help please 😭
Nice video, but very basic. I wish you'd code the tab bar that is shown in the thumbnail image. That would be much more interesting.