Welcome to ShenZhenJia Knowledge Sharing Community for programmer and developer-Open, Learning and Share
menu search
person
Welcome To Ask or Share your Answers For Others

Categories

I am very new to coding and app development and I am working on my first project. I have a navigation controller that links to a controller scene that is used for my "login" page. From there, after the authentication, I would like the user to be redirected to my tab bar controller scene.

I followed this video in helping me set up firebase authentication and followed exactly what was shown in the video, but yet when I click the login button on the simulator in redirects me back to Xcode under the "Show the debug navigator" tab and under "Thread 1" "12 Main" it shows my app delegate code with the error: Page with Error

I have tried everything I've seen online including re-writing the code, ensuring that there are not multiple segues connected to the button...

This is my code on my "FirstViewController.Swift

Could someone please tell me what I am doing wrong? And I am not sure what I missed out so if anyone needs more information to figure out what the issue is I can post it.

Also:

  • The "goHome" string on line 52 is the identifier for the storyboard segue after authentication is complete
  • The app is called "Statera"

与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…
thumb_up_alt 0 like thumb_down_alt 0 dislike
3.0k views
Welcome To Ask or Share your Answers For Others

1 Answer

等待大神答复

与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…
thumb_up_alt 0 like thumb_down_alt 0 dislike
Welcome to ShenZhenJia Knowledge Sharing Community for programmer and developer-Open, Learning and Share
...