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

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 18, 20262026-05-18T20:20:14+00:00 2026-05-18T20:20:14+00:00

It seems that when you animate a UIButton, the real button is always at

  • 0

It seems that when you animate a UIButton, the real button is always at the destination position. Animation is just a “movie”.
In this code, while in the animation, the button gets the event only if i touch the empty final destination (centered at 600×900). If I touch it as i see it in the showing position, meaning at some point where the button is being drawn (in the middle of the animation) it gets nothing.

CGPoint point;
point.x = 600;
point.y = 900;
[UIView animateWithDuration:16 
        delay:0 
        options:(UIViewAnimationOptionAllowUserInteraction | UIViewAnimationOptionAllowAnimatedContent)
        animations:^{

            [movingbutton setCenter:point];
        }
        completion:^(BOOL finished){
            NSLog(@"animation completed");
        }
];

Cant figure out how to make the animating button touchable in the correct animation path. Any idea?
Thanx!

  • 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-18T20:20:15+00:00Added an answer on May 18, 2026 at 8:20 pm

    Simply use an NSTimer, and manually move it (change the frame) a few pixels each step.

    Is ok for you?

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

Sidebar

Related Questions

It seems that when you animate a UIButton, the real button is always at
It seems that when a WPF application starts, nothing has focus. This is really
I have the following code that seems to scroll a div on click all
I am using a UIView animation to move a button across the screen. While
Consider the following code: $('div').click(function(){ $(this).animate({height:100}, 500) $(this).css({opacity:1}); }); Versus: $('div').click(function(){ $(this).animate({height:100}, 500); })
How to animate a favicon like that? It seems to work only in Firefox.
-I have a UIView. -This UIView has a UIButton that when clicked makes a
This seems so tricky to me that I think I am overlooking something simple
I have a UIView that I am trying to animate flipping down, while having
I've been using WxPython and I've tried Tk, but it seems that, while both

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.