Your Second iOS and SwiftUI App · Challenge: New Task View |

This is a companion discussion topic for the original entry at
1 Like

i am stuck here…when i do the live preview it will not allow me to type anything into it. Also when i build and launch through the simulator, it just comes up as an all-black screen.

edit: never mind - finally found the solution…in the scene function on the scene delegate view i was missing the word “options”

1 Like

@iammax Glad you sorted it out! Cheers! :]

The code doesn’t seem to actually call the new task view. This seems to be done in SceneDelegate.swift. Am I suppose to put a call in there? I did see that in the video?

I was running the simulator. Running the preview seems to work. Typing seems odd since it is done with the computer keyboard. I had to hit a few keys to get it to work.

@john2001plus Please check out the latest version of the course when you get a chance:

I hope it helps!