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

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 13, 20262026-05-13T12:52:30+00:00 2026-05-13T12:52:30+00:00

I want a button that has a another button on the backside. When you

  • 0

I want a button that has a another button on the backside. When you press the button it should flip horizontal and show the other button. Apple did this in the ipod-App. When you hear a song you can press the button on the right site of the navigationbar and then the view flips and you can see all the songs from the album. But the interest point is that the button on the right side flips with the view horizontal.
How can I do this?

alt text http://img51.imageshack.us/img51/585/welyrics2jpg.png

Thanks for the answer!

  • 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-13T12:52:30+00:00Added an answer on May 13, 2026 at 12:52 pm

    I dont understand this atm.

    My iPhone coach did it for me a while back.. but i wasnt looking at what he did.

    So heres the code.
    .h

    #import <UIKit/UIKit.h>
    
    @interface flipTesViewController : UIViewController {
    IBOutlet UIView *containerView;
    
    UIImageView *heads;
    UIImageView *tails;
    }
    -(IBAction)test;
    
    @end
    

    .m

    #import "flipTesViewController.h"
    
     @implementation flipTesViewController
    
    
    
    
    
    -(IBAction)test{
    [UIView beginAnimations:nil context:nil];
    [UIView setAnimationTransition:UIViewAnimationTransitionFlipFromLeft forView:containerView cache:YES];
    [UIView setAnimationDelegate:self];
    [UIView setAnimationDidStopSelector:@selector(test)];
    [UIView setAnimationDuration:.5];
    if(heads.tag==1){
        [containerView addSubview:heads];
        heads.tag=2;
    }
    else{
        [containerView addSubview:tails];
        heads.tag=1;
    }
    
    [UIView commitAnimations];
    }
    
    
    
    - (void)viewDidLoad {
    [super viewDidLoad];
    
    heads = [[UIImageView alloc] initWithImage:[UIImage imageNamed:@"NZHeads.png"]];
    tails = [[UIImageView alloc] initWithImage:[UIImage imageNamed:@"NZTails.png"]];
    
    [containerView addSubview:heads];
    
    }
    //other method built in to view based template
    @end
    
    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I want to create a button that has a jQuery click on the fly.
I want to have a button that has numbers in the range 0 ...
I've got a button that I want to show at the end of the
I have a UIViewController (firstViewController) which has a button that 'segue's to another UIViewController
I have a submit button that has got a dynamically generated id. I want
i want to create a form that has two submit buttons, but each one
I want to make a button that starts my php script after I click
I want to disable the button that is contained in a data list row.
I want button in vertically, for that i can extend the height and shrink
I want to trigger an event with a button that changes the visibility of

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.