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

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 9, 20262026-06-09T09:26:03+00:00 2026-06-09T09:26:03+00:00

I have a UITableViewController that pushes a UIViewController using a UINavigationController: [self.navigationController pushViewController:detailViewController animated:YES];

  • 0

I have a UITableViewController that pushes a UIViewController using a UINavigationController:

[self.navigationController pushViewController:detailViewController animated:YES];

In the detailViewController, I present a modal view when the user taps a button (a MFMessageComposeViewController for sending an SMS message) and then dismiss it, like this:

[self presentModalViewController:smsViewController animated:YES];
...
// user pushes Send or Cancel button on the view
...
[self dismissModalViewControllerAnimated:YES];

The SMS modal view dismisses properly, but now when I click the “Back” button on the UINavigationBar, the views don’t animate back to the table view. The detail view just disappears and the UITableViewController’s view is there. The Back button animates and fades and the selected table cell still has the fading blue effect, but there’s no view animation.

Does anyone know why the views don’t animate properly? If I don’t open the SMS modal view, then the animation works properly, so I’m pretty sure it’s caused somehow by the modal behavior.

Here’s how my Interface Builder view arrangement looks for this Tab Bar Item:

View Arrangement

  • 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-09T09:26:04+00:00Added an answer on June 9, 2026 at 9:26 am

    I discovered my problem. I am using a custom UITabBarController subclass that overrides -(void)viewWillAppear:(BOOL)animated with some custom tab bar handling. However, I wasn’t calling [super viewWillAppear:animated] in the overridden method. Yes, a sad day in my developer life. It still seems odd to me that this would cause the behavior I experienced, but I’m certain it’s now fixed due to this change.

    Interestingly, the modal push/dismiss animation works properly without the [super viewWillAppear:animated] call in the iPhone 4.3 simulator. But, it does not work in the iPhone 5.0 or 5.1 simulators. (I used a non-MFMessageComposeViewController to text the modal behavior on the iPhone simulator since SMS isn’t supported on the simulator).

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

Sidebar

Related Questions

So I have a UINavigationController that pushes a UITableViewController from the rootViewController. From the
I have a UINavigationController that pushes a custom UITableViewController onto the stack. This pushed
I have a UITableViewController which pushes a UIViewController and I need to pass two
I currently have a UITableViewController that parses a JSON response (using TouchJSON) fired asynchronously
I have a modal that displays over a UITableViewController which should display different text
I have a UITableViewController and DetailViewController that pops up when concrete row is selected.
I have an existing UITableViewController that was previously being used in a UINavigationController. I
I have a UITableViewController that displays cells that are just default. Each cell can
I have an iPad app that has a UITableViewController that implements the NSFetchedResultsControllerDelegate .
I have created a subclass of UITableViewController that is used as the custom class

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.