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

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 7, 20262026-06-07T14:00:48+00:00 2026-06-07T14:00:48+00:00

Want to implement a view controller transition similar to used in facebook and many

  • 0

Want to implement a view controller transition similar to used in facebook and many other apps, snapshot is attached. Will it require playing with CoreAnimation framework or is it available in the toolkit?

enter image description here

  • 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-07T14:00:50+00:00Added an answer on June 7, 2026 at 2:00 pm

    You have to use CoreAnimation unless you want to import a 3rd part framework that someone suggested, but it is very simple to use CoreAnimation and I suggest you learn it because it is very powerful. Here is the simplest approach possible to give you an idea. You could structure it a little better yourself once you get a hang of it, to fit your needs:

    In your viewcontroller have 2 views:

    @interface yourViewController : UIViewController {
        // The facebook view in the example, this will be the view that moves.
        // Init this view with x=0 and let it cover the whole screen.
        IBOutlet UIView *topView; 
    
        // The fb menu in the example
        // Init this view so that it stays behind the topView.
        IBOutlet UIView *bottomView; 
    
        BOOL menuVisible; // init to false in viewDidLoad!
    }
    

    Create them in interface builder, or by code or however you are used to. Make them overlap eachother so that you only see the topView, and let the buttomView stay behind it.

    When the user presses the button to show the menu:

    -(IBAction)menuButtonPressed:(id)sender {
        // Set up animation with duration 0.5 seconds
        [UIView beginAnimations:@"ToggleMenu" context:nil];
        [UIView setAnimationDuration:0.5];
    
        // Alter position of topView
    
        CGRect frame = topView.frame; 
    
        if (menuVisible) {
            frame.origin.x = 0;
            menuVisible = NO;
        } else {
            frame.origin.x = 300; //Play with this value
            menuVisible = YES;
        }
    
        topView.frame = frame;   
    
        // Run animation
        [UIView commitAnimations];
    }
    

    Of course, you should implement your own UIView subclasses for the “facebook view” and the “menu view” etc and use for topView and bottomView in the example above.

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

Sidebar

Related Questions

I Want To Implement 3d View Turning Transition In My App Similar To IBook.
I am creating a view controller that will be used to enter text information.
I have a view controller and I want to implement a navigation controller inside
I want to implement a view in an iPhone application that is essentially like
I want to implement a view having two layers on it. Then i want
I want to implement this view But I have one question: The text which
I want to implement Paginated list View in android so when I scroll down
The UI I want to implement: I wonder how to implement the top view
Basically I want to implement a filtering option for a Grid view and I
The well known Command pattern is used often when you want to implement a

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.