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

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 1, 20262026-06-01T20:21:27+00:00 2026-06-01T20:21:27+00:00

I would like to develop an app with a menu which looks like the

  • 0

I would like to develop an app with a menu which looks like the ios Linkedin app one. Like this (the left picture)

enter image description here

There is 4 glimpses (miniatures) which are associated to the four principal views.
And the miniature always shows the updated state of the view.

I would like to know we can do a menu like this one ?

Thanks in advance for your help !

Sébastien 😉


So why do you put the 4 UIView in an other UIView and not directly on the UIViewController ?
And you talked about buttons but there are only UIView in your example ? I wonder if the 4 buttons are on the 4 views and are transparent in order to apply the transformation.

Do you have a code example for the transformation ?

Thanks a lot for your help !

  • 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-01T20:21:28+00:00Added an answer on June 1, 2026 at 8:21 pm
    - (void)viewDidLoad {
    [super viewDidLoad];
    [self.navigationItem setTitle:@"About us"];
    
    presentationViewController = [[PresentationViewController alloc] initWithNibName:@"PresentationViewController" bundle:nil];
    secteursViewController = [[SecteursViewController alloc] initWithNibName:@"SecteursViewController" bundle:nil];
    engagementsViewController = [[EngagementsViewController alloc] initWithNibName:@"EngagementsViewController" bundle:nil];
    interviewsViewController = [[InterviewsViewController alloc] initWithNibName:@"InterviewsViewController" bundle:nil];
    
    presentationApercu = presentationViewController.view;
    secteursApercu = secteursViewController.view;    
    videosApercu = interviewsViewController.view;
    engagementsApercu = engagementsViewController.view;
    
    presentationApercu.transform = CGAffineTransformMakeScale(1/(320./107), 1/(367./122.));
    presentationApercu.frame = CGRectMake(27., 18., presentationApercu.frame.size.width, presentationApercu.frame.size.height);
    
    secteursApercu.transform = CGAffineTransformMakeScale(1/(320./107), 1/(367./122.));
    secteursApercu.frame = CGRectMake(185., 18., secteursApercu.frame.size.width, secteursApercu.frame.size.height);
    
    videosApercu.transform = CGAffineTransformMakeScale(1/(320./107), 1/(367./122.));
    videosApercu.frame = CGRectMake(27., 196., videosApercu.frame.size.width, videosApercu.frame.size.height);;
    
    engagementsApercu.transform = CGAffineTransformMakeScale(1/(320./107), 1/(367./122.));
    engagementsApercu.frame = CGRectMake(185., 196., engagementsApercu.frame.size.width, engagementsApercu.frame.size.height);
    
    presentationApercu.tag = 1;
    secteursApercu.tag = 2;
    videosApercu.tag = 3;
    engagementsApercu.tag = 4;
    
    UITapGestureRecognizer *tap = [[UITapGestureRecognizer alloc] initWithTarget:self action:@selector(zoomAction:)];
    [tap setNumberOfTapsRequired:1];
    [presentationApercu addGestureRecognizer:tap];
    [tap release];
    
    tap = [[UITapGestureRecognizer alloc] initWithTarget:self action:@selector(zoomAction:)];
    [tap setNumberOfTapsRequired:1];
    [secteursApercu addGestureRecognizer:tap];
    [tap release];
    
    tap = [[UITapGestureRecognizer alloc] initWithTarget:self action:@selector(zoomAction:)];
    [tap setNumberOfTapsRequired:1];
    [videosApercu addGestureRecognizer:tap];
    [tap release];
    
    tap = [[UITapGestureRecognizer alloc] initWithTarget:self action:@selector(zoomAction:)];
    [tap setNumberOfTapsRequired:1];
    [engagementsApercu addGestureRecognizer:tap];
    [tap release];
    
    [self.view addSubview:presentationApercu];
    [self.view addSubview:secteursApercu];
    [self.view addSubview:videosApercu];
    [self.view addSubview:engagementsApercu];
    
    }
    
    
    #pragma mark - IBActions
    
    - (void)zoomReverse {
    [self.navigationItem setLeftBarButtonItem:nil];
    UITapGestureRecognizer *tap = nil;
    
    switch (tagEnCours) {
        case 1:
            [self.view bringSubviewToFront:presentationApercu];
    
            tap = [[UITapGestureRecognizer alloc] initWithTarget:self action:@selector(zoomAction:)];
            [tap setNumberOfTapsRequired:1];
            [presentationApercu addGestureRecognizer:tap];
            [tap release];
    
            [UIView beginAnimations:nil context:NULL];
            [UIView setAnimationDuration:0.5];
            [UIView setAnimationCurve:UIViewAnimationCurveEaseInOut];
    
            presentationApercu.transform = CGAffineTransformMakeScale(1/(320./107), 1/(367./122.));
            presentationApercu.frame = CGRectMake(27., 18., presentationApercu.frame.size.width, presentationApercu.frame.size.height);
    
            [UIView commitAnimations];
    
            break;
    
        case 2:
            [self.view bringSubviewToFront:secteursApercu];
    
            tap = [[UITapGestureRecognizer alloc] initWithTarget:self action:@selector(zoomAction:)];
            [tap setNumberOfTapsRequired:1];
            [secteursApercu addGestureRecognizer:tap];
            [tap release];
    
            [UIView beginAnimations:nil context:NULL];
            [UIView setAnimationDuration:0.5];
            [UIView setAnimationCurve:UIViewAnimationCurveEaseInOut];
    
            secteursApercu.transform = CGAffineTransformMakeScale(1/(320./107), 1/(367./122.));
            secteursApercu.frame = CGRectMake(185., 18., secteursApercu.frame.size.width, secteursApercu.frame.size.height);
    
            [UIView commitAnimations];
    
            break;
    
        case 3:
            [self.view bringSubviewToFront:videosApercu];
    
            tap = [[UITapGestureRecognizer alloc] initWithTarget:self action:@selector(zoomAction:)];
            [tap setNumberOfTapsRequired:1];
            [videosApercu addGestureRecognizer:tap];
            [tap release];
    
            [UIView beginAnimations:nil context:NULL];
            [UIView setAnimationDuration:0.5];
            [UIView setAnimationCurve:UIViewAnimationCurveEaseInOut];
    
            videosApercu.transform = CGAffineTransformMakeScale(1/(320./107), 1/(367./122.));
            videosApercu.frame = CGRectMake(27., 196., videosApercu.frame.size.width, videosApercu.frame.size.height);
    
            [UIView commitAnimations];
    
            break;
    
        case 4:
            [self.view bringSubviewToFront:engagementsApercu];
    
            tap = [[UITapGestureRecognizer alloc] initWithTarget:self action:@selector(zoomAction:)];
            [tap setNumberOfTapsRequired:1];
            [engagementsApercu addGestureRecognizer:tap];
            [tap release];
    
            [UIView beginAnimations:nil context:NULL];
            [UIView setAnimationDuration:0.5];
            [UIView setAnimationCurve:UIViewAnimationCurveEaseInOut];
    
            engagementsApercu.transform = CGAffineTransformMakeScale(1/(320./107), 1/(367./122.));
            engagementsApercu.frame = CGRectMake(185., 196., engagementsApercu.frame.size.width, engagementsApercu.frame.size.height);
    
            [UIView commitAnimations];
    
            break;
    
        default:
            break;
    }
    }
    
    - (void)zoomAction:(UITapGestureRecognizer *)sender {
    [self.navigationItem setLeftBarButtonItem:[[[UIBarButtonItem alloc] initWithTitle:@"About us" style:UIBarButtonItemStyleDone target:self action:@selector(zoomReverse)] autorelease]];
    tagEnCours = sender.view.tag;
    switch (sender.view.tag) {
        case 1:
            [self.view bringSubviewToFront:presentationApercu];
            [presentationApercu removeGestureRecognizer:[presentationApercu.gestureRecognizers objectAtIndex:0]];
    
            [UIView beginAnimations:nil context:NULL];
            [UIView setAnimationDuration:0.5];
            [UIView setAnimationCurve:UIViewAnimationCurveEaseInOut];
    
            presentationApercu.transform = CGAffineTransformIdentity;
            presentationApercu.frame = CGRectMake(0., 0., presentationApercu.frame.size.width, presentationApercu.frame.size.height);
    
            [UIView commitAnimations];
    
            break;
    
        case 2:
            [self.view bringSubviewToFront:secteursApercu];
            [secteursApercu removeGestureRecognizer:[secteursApercu.gestureRecognizers objectAtIndex:0]];
    
            [UIView beginAnimations:nil context:NULL];
            [UIView setAnimationDuration:0.5];
            [UIView setAnimationCurve:UIViewAnimationCurveEaseInOut];
    
            secteursApercu.transform = CGAffineTransformIdentity;
            secteursApercu.frame = CGRectMake(0., 0., secteursApercu.frame.size.width, secteursApercu.frame.size.height);
    
            [UIView commitAnimations];
            break;
    
        case 3:
            [self.view bringSubviewToFront:videosApercu];
            [videosApercu removeGestureRecognizer:[videosApercu.gestureRecognizers objectAtIndex:0]];
    
            [UIView beginAnimations:nil context:NULL];
            [UIView setAnimationDuration:0.5];
            [UIView setAnimationCurve:UIViewAnimationCurveEaseInOut];
    
            videosApercu.transform = CGAffineTransformIdentity;
            videosApercu.frame = CGRectMake(0., 0., videosApercu.frame.size.width, videosApercu.frame.size.height);
    
            [UIView commitAnimations];
            break;
    
        case 4:
            [self.view bringSubviewToFront:engagementsApercu];
            [engagementsApercu removeGestureRecognizer:[engagementsApercu.gestureRecognizers objectAtIndex:0]];
    
            [UIView beginAnimations:nil context:NULL];
            [UIView setAnimationDuration:0.5];
            [UIView setAnimationCurve:UIViewAnimationCurveEaseInOut];
    
            engagementsApercu.transform = CGAffineTransformIdentity;
            engagementsApercu.frame = CGRectMake(0., 0., engagementsApercu.frame.size.width, engagementsApercu.frame.size.height);
    
            [UIView commitAnimations];
            break;
    
        default:
            break;
    }
    }
    
    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I would like to develop in GWT a vertical menu similar to the one
I would like to develop an app using iOS gamekit library and I am
I would like to develop a MS paint like app for the iPhone. Could
I would like to develop a selection-tool for Screen which ignores the leading spaces
I would like to develop a website with fully ajax navigation, but this means
I would like to develop administrative jython-scripts for WebSphere 7. Is there any IDE
I would like to develop an Android application which will have a local database.
I would like to develop a reader app for viewing and manipulating proprietary format
I would like to develop an HTML5 app that I could then package and
I would like to develop an Android app to access our web site. How

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.