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

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 9, 20262026-06-09T16:06:31+00:00 2026-06-09T16:06:31+00:00

I allow users to add new items using a modal, presented vertically. When they

  • 0

I allow users to add new items using a modal, presented vertically. When they are done, the modal slides out of view and the new item is added to the list.

I want the user to see the impact of his addition by inserting the new row with animation, (or maybe selecting it). The trouble is, if the cell is at the bottom of the list, the user doesn’t really get to see the animation, as it happens under the still-disappearing modal.

Is there a way to know when this animation is complete? Or do I need to do something more crafty/hacky*

* I am thinking of storing a reference of the added cell in an iVar and then inserting it in viewDidAppear, which does not fire until after the modal has completed it’s transition – other ideas would be appreciated.

EDIT: My second hacky idea is to wrap the modal dismissal in an animation block of equal duration (0.3?) to the dismissal.

  • 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-09T16:06:32+00:00Added an answer on June 9, 2026 at 4:06 pm

    How are you doing your modal transition? If you use presentViewController instead of presentModalViewController, you have a completion block. Likewise, the dismissViewControllerAnimated also has a completion block (where as the old dismissModalViewControllerAnimated does not). These were introduced in iOS 5.

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

Sidebar

Related Questions

To allow users and site admins to view/add/edit/delete data in my application I decided
My app allows users to add new items to their inventory. Every time an
I have a page where it allows users to add new ul dynamically using
I want to allow users of my application to add sub-users and set privileges
I wanted to allow users to be able to add videos but I'm having
I'm trying to add a public API to my app to allow users to
I need allow registered front end users to add, remove images to image gallery.
I am trying to add a simple form to allow my users to edit
I've got a screen that allows users to add & remove rows which they'll
I'm creating a UX experience that will allow the user to add items to

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.