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

Posted on 2014-09-01
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

    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


    Featured Post

    Looking for New Ways to Advertise?

    Engage with tech pros in our community with native advertising, as a Vendor Expert, and more.

    Join & Write a Comment

    Suggested Solutions

    This article describes in detail how to set up the iPad in the Enterprise using iPCU aka iPhone Configuration Utility.  This could also be used for the iPhone although I have not detailed out any differences. Preparation as an iPad Administrator:…
    I recently went through the process of creating an installable image of an iPhone mobile app (an .ipa file) that beta testers could load onto their test devices. The process involved quite a few steps, but both Appcelerator and had decent …
    how to add IIS SMTP to handle application/Scanner relays into office 365.
    In this sixth video of the Xpdf series, we discuss and demonstrate the PDFtoPNG utility, which converts a multi-page PDF file to separate color, grayscale, or monochrome PNG files, creating one PNG file for each page in the PDF. It does this via a c…

    733 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

    Need Help in Real-Time?

    Connect with top rated Experts

    24 Experts available now in Live!

    Get 1:1 Help Now