iOS -- Can a navigation controller element be at a location other than the top of the screen?

Posted on 2014-09-01
Medium Priority
Last Modified: 2014-09-09
Hello, is it possible to provide a Navigation Controller (that left-to-right sliding view that is usually visualized by a bar at the top of the screen and is useful for drilling down into hierarchical data) at a location other than at the top of the screen?  We have a tableview in roughly the middle of the screen, and we've decided it would be very helpful if the tableview could slide left/right in a drill down pattern, with the Navigation Controller visible at the top.  But this couldn't be at the very top, it'd have to be somewhere in the middle.

My guess is that this isn't possible, but taking a chance.  Thanks for any help.
Question by:RonMexico
LVL 19

Accepted Solution

Shahan Ayyub earned 2000 total points
ID: 40313251
Are you talking about navigationBar ? NAvigationBar at the middle or other than top ? No way. Use UIToolBar instead and call equivalent functions of UINAvigationcontroller. For example,

1. Hide NavigationBar

[self.navigationController.navigationBar setHidden:YES];

Open in new window

2. Add a back button on UIToolbar.
3. On button click, call:

[self.navigationController popviewControllerAnimated:YES];

Open in new window

Does it help ?

Author Closing Comment

ID: 40313258

Featured Post

Free Tool: ZipGrep

ZipGrep is a utility that can list and search zip (.war, .ear, .jar, etc) archives for text patterns, without the need to extract the archive's contents.

One of a set of tools we're offering as a way to say thank you for being a part of the community.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

The Basics of Storyboard Storyboards were first introduced to developers in the release of iOS 5. They save the developer the trouble of designing each screen’s interface in a different file. The storyboard allows you to see the conceptual mockup o…
There is a security feature on iOS devices that is nearly impenetrable when it has been activated.  This article will provide some possible solutions as well as necessary steps to take to ensure you do not end up with a locked device.
When you create an app prototype with Adobe XD, you can insert system screens -- sharing or Control Center, for example -- with just a few clicks. This video shows you how. You can take the full course on Experts Exchange at http://bit.ly/XDcourse.
Loops Section Overview

850 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question