Swift - If Statement Won't Run


My if statement won't run. I don't know why it won't run.



Expected: The Button will get the email and password and send a request to the url. If the email and password are valid, it will display the email. If the email is equal to the HTTP body, then it will redirect to the LoggedOn Storyboard.



What's happening: The Button will get the email and password and send a request to the url. If the email and password are valid, it will display the email. If the email is equal to the HTTP body, it does nothing.



The Storyboard is not connected to the LoggedOn Storyboard. I don't know if it needs to be or not. Could someone please help me figure out whats going on?



This line:



You say that LoggedOnViewController belongs to the LoggedOn storyboard, so you should have put:






By clicking "Post Your Answer", you acknowledge that you have read our updated terms of service, privacy policy and cookie policy, and that your continued use of the website is subject to these policies.

Popular posts from this blog

The Dalles, Oregon

眉山市

清晰法令