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

  • Home
  • SEARCH
  • 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 8807887
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 14, 20262026-06-14T02:28:45+00:00 2026-06-14T02:28:45+00:00

Please help. Trying to get animation of frame position working inside a UITableViewCell, specifically

  • 0

Please help. Trying to get animation of frame position working inside a UITableViewCell, specifically I’m trying to move the default UILabel (cell.textLabel). However, no matter what technique I use, I can’t get any view inside the cell to move. The animation of colour and alpha works as outlined by the code below.

Cheers in advance for help.

Andy

Here is the code I am using:

-(void)tableView:(UITableView *)tableView didSelectRowAtIndexPath:(NSIndexPath *)indexPath
{
    if (indexPath.section == 0 && indexPath.row == 0) {

        UITableViewCell *cell = [tableView cellForRowAtIndexPath:indexPath];

        CGRect textLabelFrame = cell.textLabel.frame;
        textLabelFrame.origin.x = -textLabelFrame.size.width;

       [UIView animateWithDuration:0.5
            delay:0.0
            options:UIViewAnimationCurveEaseOut
            animations:^{
                cell.textLabel.frame = textLabelFrame; // THIS DOESN'T WORK - HELP!
                cell.imageView.frame = CGRectOffset(cell.imageView.frame,0,0); // EVEN TRYING TO MOVE IMAGEVIEW DOESN'T WORK
                cell.textLabel.alpha = 0; // This animates
                cell.imageView.backgroundColor = [UIColor redColor]; // This animates
            }
            completion:^(BOOL finished){
                NSLog(@"Done!");
        }];
    }
}
  • 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-14T02:28:46+00:00Added an answer on June 14, 2026 at 2:28 am

    I don’t think it’s possible to reposition the default label or image view in a standard cell. If you want to do that, you should add your own subviews to the cell’s contentView, and do your animations with those.

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

Sidebar

Related Questions

I'm struggling with the below code in JS please help: Currently trying to get
I'm trying to get this resolve for days but no luck yet. Please help
I am working on a JQuery animation and I hope I can get help
Please help me to solve this. I trying to get value from textview and
I am Trying to get the ICCID from Iphone. can anyone please help me
This is my first android project so please help I am trying to create
Please help me, I'm trying to find some documentation about pre-installed applications at Android.
Could you please help me converting this c++ code into python: I am trying
can someone please help me out? I'm trying to create an input dynamically with
Someone please help. I have an interesting issue. I am trying to implement an

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.