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

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 13, 20262026-06-13T10:34:32+00:00 2026-06-13T10:34:32+00:00

On didSelectRowAtIndexPath , I am reloading selected row and changing heightForRowAtIndexPath so that selected

  • 0

On didSelectRowAtIndexPath, I am reloading selected row and changing heightForRowAtIndexPath so that selected tableview cell can expand. This is working fine. So as soon reloading expanding done I have to animate a UIView which is in the back of a UIImageView.

Animation should be like its coming from behind of imageView and stop at certain position like its revealing from image. It should be simple ? by changing y origin and doing in it animation block.

But the problem is its not at all animating with simple UIView beginAnimations code. I think it should be possible using CAKeyframeAnimation applying to the layer of UIView.

I have never played with layers. Can anybody guide me ?

Thanks

  • 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-13T10:34:33+00:00Added an answer on June 13, 2026 at 10:34 am

    You could try something like this:

    CABasicAnimation *myViewAnimation = [CABasicAnimation animationWithKeyPath:@"position"];
    [myViewAnimation setFromValue:[NSValue valueWithCGPoint:CGPointMake(INITIAL_X,INITIAL_Y)]];
    [myViewAnimation setToValue:[NSValue valueWithCGPoint:CGPointMake(FINAL_X,FINAL_Y)]];
    [myViewAnimation setDuration:0.5];
    [myView.layer setPosition:CGPointMake(FINAL_X,FINAL_Y)];
    [myView.layer addAnimation:myViewAnimation forKey:@"position"];
    

    You’ll need to link the QuartzCore framework to your project and import it (#import <QuartzCore/QuartzCore.h>)

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

Sidebar

Related Questions

This - (void)tableView:(UITableView *)tableView didSelectRowAtIndexPath:(NSIndexPath *)indexPath { UITableViewCell *cell = [tableView cellForRowAtIndexPath:indexPath]; if (cell.accessoryType
- (void)tableView:(UITableView *)aTableView didSelectRowAtIndexPath:(NSIndexPath *)indexPath { /* When a row is selected, set the
I have (void)tableView:(UITableView *)tableView didSelectRowAtIndexPath:(NSIndexPath *)indexPath { } Can I get the row appended
How do I programmatically select a UITableView row so that - (void)tableView:(UITableView *)tableView didSelectRowAtIndexPath:(NSIndexPath
How can I reference the cell object that was clicked inside the didSelectRowAtIndexPath:(NSIndexPath *)indexPath
I am trying to implement -(void)tableView:(UITableView *)tableView didSelectRowAtIndexPath:(NSIndexPath *)indexPath So far this is what
i was trying to animate the UIActivityindicator at didSelectRowAtIndexPath i.e when row is selected
I have didSelectRowAtIndexPath selecting views based on the row number selected, i.e.: if (indexPath.row
indexPath.row returns null in tableView didSelectRowAtIndexPath:indexPath I thought it was supposed to return the
When i didSelectRowAtIndexPath in my tableView, my DetailView is loaded. In detailView i can

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.