SwiftUI - Create a simple onboarding

Поділитися
Вставка

КОМЕНТАРІ • 4

  • @yonussahadat
    @yonussahadat 4 роки тому

    This is THE EASIEST WAY!!! I just watched some other videos and they f**** me up by using Representable and HostingController. You're AWESOME!! tnx

  • @thevendredi1
    @thevendredi1 4 роки тому

    Thanks for this super quick tutorial!! Really appreciate it. I have 2 questions: How would you go about only showing this on the first time the app is launched? And 2, how would you customize an individual screen within the onboarding? (Say I want a button on only 1 of the 3 screens)

    • @codingwithenrique2674
      @codingwithenrique2674  4 роки тому

      You would use UserDefaults. It will allow you to verify if the user has already gone through the onboarding and if they have, to skip it.
      As for the second part of your question, would you offer a little more clarification please?