Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 8272475
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 8, 20262026-06-08T07:08:03+00:00 2026-06-08T07:08:03+00:00

I have a main ViewController that has two buttons that each segue to their

  • 0

I have a main ViewController that has two buttons that each segue to their own table view. The table view cells have a title and a subtitle and I have managed to load my content into them.

When I click the item, I want it to bring me back to my main view controller along with the title string and the subtitle string.

Should I be using a push segue or modal segue?

On my main view controller I have Labels that I want the strings to change to.

If you need more information, let me know.

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-06-08T07:08:05+00:00Added an answer on June 8, 2026 at 7:08 am

    You should likely use neither a push, nor a modal segue if you want to go “back” to the main view controller. So long as this is contained within a navigation controller, it sounds like what you want to do is forward the data you collected from the cell to the main view controller somehow, and then pop the current view off the navigation stack.

    If you were to use a push segue, then the main view controller would be on the navigation stack twice.

    If you were to use a modal segue, you might end up with numerous navigation stacks floating around in modal view controllers all over the place.

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I have main table called 'Employee' and another slave table called 'EmployeeTypes' that has
I have ViewController and then two different ViewControllers that extend that main ViewController ,
I have a main tabController that has two tabs, first one is selected as
I have a main view controller that consists of 1 button that when tapped,
I have a main view controller that takes care of the drawing for my
I have a custom UIImageView class that creates thumbnails (UIImageView) and each thumbnail has
HI have a custom view class that is loaded and placed within my main
I'm trying to do some simple animation. I have a UIViewController that has two
I have two view controllers, one is main and second is detail. Whenever I
I have a app with a main viewcontroller that loads a first page viewcontroller.

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.