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

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 7, 20262026-06-07T11:12:53+00:00 2026-06-07T11:12:53+00:00

I would like to create a menu with a tab that the user can

  • 0

I would like to create a menu with a tab that the user can pull down to display the menu. In some cases the menu would open automagically if there is data that is urgent. In other cases the menu would be closed with just the tab visible where the user could touch/pull the tab to display the menu.

I’m not clear on how to do the following:

  1. Display the tab (similar to a Google Chrome tab).
  2. Hide the menu and only display the tab.
  3. Provide the slide out animation to display the view/viewcontroller
    that the tab is connected to.
  • 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-07T11:12:54+00:00Added an answer on June 7, 2026 at 11:12 am

    Implicit in your line of questioning is the assumption that there’s some built-in control in iOS that has menus that appear and disappear. There isn’t. I’m sure there is third party code that does this for you (google it if you want), but most of us just do it ourselves, since it isn’t that hard. So, in answer to your questions:

    1) Display the tab (similar to a Google Chrome tab).

    To display a tab, just make an image that you want your tab to look like and just add it to your view. There’s nothing fancy about it. Either add it in Interface Builder, or programmatically put it on the view.

    2) Hide the menu and only display the tab.

    Then just only show the tab, don’t even add the menu to the view yet.

    3) Provide the slide out animation to display the view/viewcontroller that the tab is connected to.

    To have a menu appear, there are a couple of ways of doing it. One model would be to (a) create what I’d call a clipping view (just a simple UIView the exact size and location of your final pulled down menu and make sure this view has clipping turned on); (b) put the menu view (a view with all of the graphical elements and controls of which your final menu will consist) on the clipping view, but just offscreen above it (e.g. add it with a frame of (0,-height,width,height)); and then (c) animate the menu into place (e.g. with a frame of (0,0,width,height)).

    If any of this doesn’t make sense, then I’d suggest you take this one step at a time, perhaps getting some good training materials on how to do this sort of stuff before you proceed. If you’re not familiar with programmatically adding controls, then focus on that before you get into animation. Also carefully review the View Programming Guide. Just figure out how to have some IBAction have the menu appear on screen. No point in proceeding to the slick animation until know how to get the stuff to be animated to appear. Once you’ve mastered that, proceed to animation. If you’re not familiar with animation, read the following chapter on Animation.

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

Sidebar

Related Questions

Hey everyone. I would like to create a joomla menu but have it display
I want to create a tab menu similar to TabHost but I would like
I would like to create a drop down menu on top of my google
I would like to create some logic with in my Rails app that is
I would like to create a context menu (long press on a textview) that
I am creating a user control and would like to create a custom menu
I would like to create drop down lists on several menu items in a
I am trying to create a css menu. I would like to remove border
I would like to create a c++ type that mimic the build-in type exactly.
I would like to create a class that runs something (a runnable) at regular

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.