preforming Segue, To View With Navigation Controller but don't see any header

677 views ios
9

I'm pushing a view with a Seague to screen,

that view is linked with a navigation controller, but when i navigate to it, i don't see any header or any indication of the navigation controller

here is my storyboard enter image description here

and here is my Code:

 self?.performSegue(withIdentifier: "practicemod", sender: self)

and prepare function

override func prepare(for segue: UIStoryboardSegue, sender: Any?) {

        var vc = segue.destination as! PracticesView
        vc.practices = sdkPractices
        vc.consumer = sdkConsumer

    }

what am i doing wrong ?

answered question

1 Answer

10

The start point in your storyboard need to be Navigation Controller.

OR

segue from select view to Navigation Controller to TableView Controller (PracticesView).

This should solve your problem

posted this

Have an answer?

JD

Please login first before posting an answer.