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

  • Home
  • SEARCH
  • 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 6086805
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 23, 20262026-05-23T11:47:51+00:00 2026-05-23T11:47:51+00:00

I have 3 view stacks namely MyHomeViewController, MySubViewController, MyReplyListViewController. Now the MyHomeViewController is the

  • 0

I have 3 view stacks namely MyHomeViewController, MySubViewController, MyReplyListViewController.

Now the MyHomeViewController is the root view. and when i give back from MySubViewController it takes me to MyHomeViewController.as like and when i give back from MyReplyListViewController it takes me to MySubViewController using navigation controller

So, MyHomeViewController -> MySubViewController -> MyReplyListViewController

Now what i want is , when user received a new mail in the app.

When user launching the app and if he has received a new reply, i want to show the MyReplyListViewController first, from there when i give back it has to take me to MySubViewController.
from there when i give back it has to take me to MyHomeViewController

MyReplyListViewController ->
MySubViewController ->
MyHomeViewController

This has to happen only once when he has received a new reply.otherwise it has to behave asusaul.

I am trying to accomplish this but no luck

Thanks for your time and support.

  • 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-05-23T11:47:52+00:00Added an answer on May 23, 2026 at 11:47 am

    Try by using the UINaviationController viewControllers property and setViewControllers method,

    @property(nonatomic, copy) NSArray *viewControllers;
    - (void)setViewControllers:(NSArray *)viewControllers animated:(BOOL)animated;
    

    UPDATED:

    For the below controllers.

    MyReplyListViewController -> MySubViewController -> MyHomeViewController
    

    You need to create and array of viewControllers in the reverse order shown above.

    NSArray* myControllerArray = [NSArray arrayWithObjects:rootViewController, subViewController, replyViewController, nil];
    

    set it as new stack of navigation.

    [myNavigationController setViewControllers:myControllerArray animated:NO];
    

    Now go directly to your MyReplyListViewController.

     [myNavigationController popToViewController:replyViewController animated:YES]
    
    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I have a UISplitViewController, and I'd like to change the root view controller (on
I have the CakePHP stack in /var/www/site from one view under controller A I
i have view like 'home/details/5', it can be access by anonymous user. but there
I have a view using a master page that contains some javascript that needs
NavigationControllers have ViewController stacks to manage, and limited animation transitions. Adding a view controller
I have a view which is pushed onto the UINavigationController stack from another UITableView.
I have 2 view controllers, root, and detail. The root view controller supports landscape
I have view controller, into the view i have put a table view, and
I have a view that has a list of jobs in it, with data
I have a view user control that can post form. This control can be

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.