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

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 23, 20262026-05-23T20:24:30+00:00 2026-05-23T20:24:30+00:00

I Show a view using presentModalViewController . and from this UIView I want to

  • 0

I Show a view using presentModalViewController. and from this UIView I want to push a UIView using UINavigationController.
I tried below code for this

[self.parentViewController.navigationController 
                pushViewController:objViewFullScreen 
                          animated:YES];

But it did not works for me. so please can any one suggest how I push a view from ModelViewController.

Thanks

  • 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-23T20:24:31+00:00Added an answer on May 23, 2026 at 8:24 pm

    First you have to present your modal view controller inside a navigation controller:

    MyViewController *vc = [[MyViewController alloc] initWithNibName:@"MyNib" bundle:nil];
    UINavigationController *nc = [[UINavigationController alloc] initWithRootViewController:vc];
    
    [self presentModalViewController:nc animated:YES];
    
    [vc release];
    [nc release];
    

    Then inside MyViewController you can do:

    OtherViewController *vc = [[OtherViewController alloc] initWithNibName:@"MyOtherNib" bundle:nil];
    [self.navigationController pushViewController:vc animated:YES];
    [vc release];
    
    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I'm new to iPhone and I'm using this code to select an image from
I am trying to hide/show elements in a view using following code: $('buttonClass/IDhere').click(function (){
I am using Qt 4.5 and a qgraphicsscene/view to show video to the user.
fck editor does not show my html tags, when i view the source using
I am using a list view in Android 1.5 to show a list of
UPDATED: I am using MySQL statement to create a view: I need to show
i want to show my view as a model view. In iPad there are
I can access and show self.view and see the frame in the log but
I'm developing a plug-in in Eclipse and I want to show a view. I'm
I'm trying to present a UIImagePickerController from a UITableViewController subclass using the following code:

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.