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 9191889
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 17, 20262026-06-17T20:47:44+00:00 2026-06-17T20:47:44+00:00

I have 2 views, TableController and WirelessController . While in TableController I need to

  • 0

I have 2 views, TableController and WirelessController. While in TableController I need to pop the WirelessController view. This is what I’ve tried and nothing happens, no console output either.

WirelessController *wCon = [[WirelessController alloc] init];
[[wCon navigationController] popViewControllerAnimated:YES];

and this has the same problem.

[self navigationController] popViewControllerAnimated:YES];

Is it the fact that I’m using the UINavigationController when it’s a view based app?

  • 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-17T20:47:45+00:00Added an answer on June 17, 2026 at 8:47 pm

    I think you mean to push, not pop…

    WirelessController *wCon = [[WirelessController alloc] init];
    

    [[self navigationController] pushViewControllerAnimated:YES];

    Push adds a new item to the top of the stack; pop removes the top item from the stack.

    Update

    From your comments it seems that…

    • your first view is an instance of WirelessController.

    • from there you present a TableController modally

    • now you want to return to you wirelessController.

    In this case you need to send a message back to the presenting view controller (wirelessController) asking it to dismiss the view controller it has presented (tableController)

    In tableController:

      [self presentingViewController] dismissViewControllerAnimated:YES 
                                                         completion:nil]];
    

    Whatever is going on, you certainly don’t want to do this:

    WirelessController *wCon = [[WirelessController alloc] init];
    

    This line will create a new object. You want to return to an existing object.

    Pushing and popping viewControllers is an activity generally associated with navigation controllers, which keep an array of managed viewControllers. In that case you would push to add a new controller to the top of the stack, and pop to remove it from the stack. In the absence of a navigation controller, there is no such stack, so push and pop make no sense.

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

Sidebar

Related Questions

I have two views, both under the NavigationController. I don't want View 1 (on
I have 4 views and control these view with 4 buttons, I am bit
I have two views, one view takes the whole screen, the second view covers
I have 2 Views, each View have a ViewController. I opened the first view
I have a controller call DefaultController. Inside this controller i have views for what
We have certain views in Portrait mode only, and certain views in Landscape mode
I have two views, jumpBarPortrait and jumpBarLandscape I would like to animate between the
I have 4 views that are controlled by 1 SherlockMapActivity. Currently I am switching
I have 2 views, one called PostToPalPal as below and DomainConfirmationView. On the DomainConfirmationView
I have two views in my ViewFlipper . One of views contains a ListView

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.