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

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 25, 20262026-05-25T18:02:04+00:00 2026-05-25T18:02:04+00:00

I am trying to build a custom share panel with buttons. This is how

  • 0

I am trying to build a custom share panel with buttons.

  • This is how it appears before being clicked.

screenshot

  • This is how it appears after.

    screenshot

I know that may be complicated, but I need the steps to accomplish this.

The images show the mock-ups of the panel.

  • 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-25T18:02:05+00:00Added an answer on May 25, 2026 at 6:02 pm

    I found the solution.

    • Create the user interface.

      screenshot

    • Link the user interface with IBoutlets and IBActions.

    • Animate the UIView item with buttons.

      -(IBAction) openPanelBtnPressed:(id)sender{
      CGPoint wpos = self.panel.frame.origin ;
      if(wpos.x == 0 && wpos.y ==133){
          [UIView beginAnimations:nil context:nil];
          [UIView setAnimationDuration:1];
          [UIView setAnimationBeginsFromCurrentState:YES];
          self.panel.frame=CGRectMake(0.0,330, 76, 368);
          self.panel.transform = CGAffineTransformIdentity;  
          [UIView commitAnimations];
      UIImage * imgOpenPanelBtn = [UIImage imageNamed:@"up.png"];
      [self.btnOpenPanel setImage:imgOpenPanelBtn forState:UIControlStateNormal];
      
       }else {
              [UIView beginAnimations:nil context:nil];
              [UIView setAnimationDuration:1];
              [UIView setAnimationBeginsFromCurrentState:YES];
              self.panel.frame=CGRectMake(0.0, 133.0, 76, 368);
               self.panel.transform = CGAffineTransformIdentity;  
              [UIView commitAnimations];
              UIImage * imgOpenPanelBtn = [UIImage imageNamed:@"down.png"];
              [self.btnOpenPanel setImage:imgOpenPanelBtn forState:UIControlStateNormal];
      
       }
       }
      
    • The result is this one: http://www.youtube.com/watch?v=6zoZKjbZAps.

    • You can find the explanation in Arabic on my blog.

    • You can download the project.
    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

Here's what I am trying to do: Build a custom control that essentially is
I'm trying to build a custom control in ASP.NET MVC. The thing that I
I'm trying to build my own custom dropdown menu that should remember it's vertical
I am trying to build a custom table view using a cell that I
I have this route that let me build custom url for users like /thisismyname,
I'm trying to build a custom clock view in Android. See image http://twitpic.com/1devk7 So
I'm trying to build my own custom django form widgets (putting them in widgets.py
I am trying to add some custom build steps to my headless build process
I'm trying to build my own custom control for a windows forms application in
I am trying to build a heap with a custom sort predicate. Since the

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.