|
Hi there, Currently I'm on 16 day and I'm facing a problem that I cannot resolve at the moment. I'm not doing this course exactly as Paul because I'm not using storyboards. Could anybody check my code and let me know why didSelectRowAt is not taking me onto nextVC ? Within the console I've a message that says that row is tapped. I'm pasting code below:
Thank you in advance for your help!! Ps. I checked on Stackoverflow and within the google but I cannot find the right answer... or maybe I'm to tired ;) |
|
If I had to guess, you're missing a navigation controller. Try changing |
|
Thanks Paul for the tip however my app crashed when I added "!" to the navigation controller. Here's the message from console:
I'm pasting also code from DetailViewController.swift
Thank you in advance for your help :) |
|
I found a solution for my problem! Unfortunatelly within mt SceneDelegate.swift I forgot to add navigationController:
Now everything works perfectly :) |
SPONSORED Take the pain out of configuring and testing your paywalls. RevenueCat's Paywalls allow you to remotely configure your entire paywall view without any code changes or app updates.
Sponsor Hacking with Swift and reach the world's largest Swift community!
This topic has been closed due to inactivity, so you can't reply. Please create a new topic if you need to.
All interactions here are governed by our code of conduct.
Link copied to your pasteboard.