Custom Navigation Bar Swift (Fast and Easy)

แชร์
ฝัง
  • เผยแพร่เมื่อ 7 พ.ย. 2024

ความคิดเห็น • 16

  • @rebeloper
    @rebeloper  4 ปีที่แล้ว

    Are you having a hard time building out Custom UINavigation Bars?

  • @nils-vlogs
    @nils-vlogs 4 ปีที่แล้ว

    Thank you so much! Very helpful :)

    • @rebeloper
      @rebeloper  4 ปีที่แล้ว

      Glad it helped, Nils! Check out my new playlist: th-cam.com/video/KBjS6eeZ1K8/w-d-xo.html

  • @agotamatyas3125
    @agotamatyas3125 4 ปีที่แล้ว

    Thank you for this Navigation Bar Tutorial!! You helped me a lot with your videos 🙏
    You are handsome

    • @rebeloper
      @rebeloper  4 ปีที่แล้ว

      Thank you 😍

  • @glennadams7047
    @glennadams7047 4 ปีที่แล้ว +2

    Thanks for these tips. Isn't is sad that XCode autocomplete is still flakey ?

    • @rebeloper
      @rebeloper  4 ปีที่แล้ว

      :) yes it is. Have you seen my survey? Let me know what you want to learn next: forms.gle/5GoVFuA79QRanbHXA

  • @WilfriedJosset
    @WilfriedJosset 4 ปีที่แล้ว

    Thank you for the great content!
    But where I’ve got difficulties is about to change navigation bar “dynamically” such as when you go through navigation link, the new navigation bar should be display in white, for some reason it is doing it too late (and cannot use appereance in that case). Do you have a solution for multiple navigation bar that work smoother?

    • @rebeloper
      @rebeloper  4 ปีที่แล้ว

      Yes, that is still one of the disadvantages of the early days of SwiftUI. There's no easy way of doing that.
      Also let me know what you want to learn next: forms.gle/5GoVFuA79QRanbHXA

  • @ajcutler54
    @ajcutler54 4 ปีที่แล้ว

    Thank you so much Alex. I have been looking for a way to customize the NavigationBarItem for some time! I do have one question. I made my title black, and in dark mode it disappears. How to make it so in dark mode it turns white.

    • @rebeloper
      @rebeloper  4 ปีที่แล้ว

      Hi Alan. That is kinda tricky. You need to access traitcollections. Let me know if you want me to show you how it's done. I can show you in a mentoring session: rebeloper.com/mentoring

  • @sidahmedmahieddine6751
    @sidahmedmahieddine6751 4 ปีที่แล้ว

    Thank you so much for your helpful videos, i would ask how can i communicate with you if it's possible. I have many questions and i need someone to guide me on how to work on Swiftui deeply. thanks again

    • @rebeloper
      @rebeloper  4 ปีที่แล้ว

      This will be the best fit for your needs: rebeloper.com/mentoring

  • @benjaminle383
    @benjaminle383 4 ปีที่แล้ว

    Hi I'm having trouble finding the navigation bar height accurately. As I want to add content in the view controller so that it won't be covered by the navigation bar (I want to use frame setting). Please help!

    • @rebeloper
      @rebeloper  4 ปีที่แล้ว

      one cannot change the height of the navigator. Also if you're using a navigation controller than the content should not be covered. *BTW take a look at my latest video about CORE DATA - FETCHING DATA [CRUD Best Practices]:* th-cam.com/video/UFt2PQXF8K0/w-d-xo.html

    • @benjaminle383
      @benjaminle383 4 ปีที่แล้ว

      @@rebeloper Thanks. I didn't want to change the frame but just get it. Turns out, this is the way:
      (UIApplication.shared.windows[0].safeAreaInsets.top) + (self.navigationController?.navigationBar.frame.height ?? 0.0)