Search code examples
swiftxcodesegue

Creating a segue from tableViewController is adding a navigation bar in destination viewController


Please see below for the two images, one before adding segue and one after adding segue. Notice the extra navigation bar at the very top of the destination view controller. I do not want that. Why is it being added? How do I remove it, while still maintaining the segue?

Before segue Before segue

After segue After segue


Solution

  • Also another way is to change the way you present the segue. Change kind to: Present Modally

    enter image description here