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

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 25, 20262026-05-25T12:38:33+00:00 2026-05-25T12:38:33+00:00

I am trying to build a multiview app i.e. based on some gestures, new

  • 0

I am trying to build a multiview app i.e. based on some gestures, new views are shown, removed etc.

I have found 3 ways to do so –

  1. [self.view insertSubview:newViewController.view atIndex:3];
  2. Using UINavigationController
  3. Finally using modalViewController – [self presentModalViewController:newViewController animated:YES];

First off, in second method, can I use this controller without UINavigationTabBar? I have a set of custom UIView objects which I want to push & pop from Screen. I dont want the ugly Apple’s NavigationBar at top (or bottom). I will provide custom buttons based on which [self.navigationController popViewControllerAnimated] should occur. Can this be possible?

Also, Which of these techniques is best? In terms of usage & code maintenance, memory usage etc.

  • 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-25T12:38:34+00:00Added an answer on May 25, 2026 at 12:38 pm

    In terms of usage & code maintenance, memory usage etc., there’s little doubt that UINavigationController is the best fit. It’s been optimized for exactly the sort of thing you’re doing. And because you push and pop UIViewControllers from it (not just UIViews), views that are not currently displayed on screen can be automatically released to free up memory by the OS.

    Can you use a navigation view without the bar across the top? I think maybe you should RTFM. Specifically, -setNavigationBarHidden:animated:

    That said, UINavigationController is not particularly flexible at doing things it wasn’t designed to do. In particular, it’s opinionated about the transitions it uses to animate between view controllers on its stack.

    You might have some luck pushing and popping sans animation (by passing NO to the animated: parameter of those methods), and having a delegate set up to handle -navigationController:willShowViewController:animated:. You could in theory add a CATransition to the root view’s animations there. But anything much more complicated than that (a view that tracks your finger while sliding on to the screen, etc.) and you’ll probably have to write your own controller and manage your own views.

    But you should still read Apple’s View Controller Programming Guide for iOS and the NSNavigationManager specs until you grok them in their fullness. It’d be hard to find a better pattern to base your design around.

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

Sidebar

Related Questions

I have a std::vector< tr1::shared_ptr<mapObject> > that I'm trying build from data contained in
Iam trying to build an Facebook Application based on PHP. The Application is running
Im trying to build a simple faye realtime based notification system so I can
Im trying to build a form that calculates a total price based on a
Im trying to build a addin that can take some a selection of cells
I trying to build a script in linux - bash, being new to it.
Trying to build a linq query based on parameters a user selects (reporting) but
I'm brand new to this and I'm trying build a simple layout of divs.
Trying to build a shopping cart based on the Agile Web Development 4th edition.
Am trying to build a conversation system for users on a web app am

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.