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

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 29, 20262026-05-29T23:37:44+00:00 2026-05-29T23:37:44+00:00

I have a rectangular, menu-style view (view 1) laid across the window approx 100

  • 0

I have a rectangular, menu-style view (view 1) laid across the window approx 100 px down (i.e. there is space above it in the window), and need to animate drop-down content (view 2) appearing lower down the screen from view 1. I need the animation to start at the bottom boundary of view 1 – much as with the iOS 5 notification pull-down, except from a specific point further down the screen.

I can’t simply slide view 2 in from off screen, since for various reasons I can’t overlay a UIView that would hide its motion until it reached the lower edge of view 1.

I’ve checked out this answer – Programmatically reveal a UIView – but I don’t believe it’s appropriate since I want the menu to slide, not be revealed from a static start point. And, as pointed out, I can’t “hide” the sliding view with another view.

How do I slide down view 2 so that it is revealed as it emerges from the lower boundary of another view, similar to the io5 notification pull-down?

  • 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-29T23:37:45+00:00Added an answer on May 29, 2026 at 11:37 pm

    Contain both subviews in a superview with it’s bounds clipped. So you’d have your superview (let’s say app window), and within that a view (with bounds clipped). Let’s call this a container view. This container would originate at whatever Y coordinate your current inserted/always visible view does, but it’s height would extend tall enough to encompass the fully-expanded “sliding” third subview.

    So within your container view, you’d place your first always visible view (view 1) at coordinates 0x 0y, and then you’d insert your sliding view (view 2) beneath that, with the frame y offset for view 2 set accordingly and at sufficient negative value to hide it completely by means of the over-layed view 1 and the clipped bounds of the container view.

    As the user drags (or whatever means you use to disclose your ‘sliding’ view), the 3rd view slides down from below the always present view, but always stays within the overarching clipped view. Viola.

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

Sidebar

Related Questions

I have a sparse matrix that represents a 3D rectangular space. Along some of
I have a set of numbers which I need to put on a rectangular
I have WYSIWYG style javascript interface that allows a designer to create rectangular regions
I have a large window in which there are n small windows. Task to
I have a menu the have rectangular boxes 90x50. Some have single line text,
I have a rectangular div , like the one above. I want to remove
I have a dataset that I am plotting within a rectangular space defined in
I have N rectangular items with an aspect ratio Aitem (X:Y). I have a
I have a grid of rectangular cells covering a plane sitting at some distance
I have a page which has a rectangular area with text and icons in

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.