Note that there are some explanatory texts on larger screens.

plurals
  1. POEmpty table rows becomes transparent right before page curl transition
    primarykey
    data
    text
    <p>I have a table view. When you add a new item to the table, I display a form sheet for you to enter the name and description of the item to be added to the table. When you press Done, the modal view dismisses and the item's detail view is pushed. Instead of pushing the detail view like you normally would with a navigation controller, I use a page curl transition. </p> <pre><code> DetailViewcontroller *detailViewcontroller = [[DetailViewcontroller alloc] initWithStyle:UITableViewStyleGrouped]; detailViewcontroller.coolObject = collectionOne; [UIView beginAnimations:nil context:NULL]; [UIView setAnimationDuration: 1.00]; [UIView setAnimationDelay:.25]; [UIView setAnimationTransition:UIViewAnimationTransitionCurlUp forView:self.navigationController.view cache:YES]; //Start Animation [UIView commitAnimations]; [self.navigationController pushViewController:detailViewcontroller animated:NO]; [detailViewcontroller release]; </code></pre> <p>This works perfectly when there's enough populated rows to fill the screen. However, if there's only a few rows populated, the rest of the table becomes transparent where there's no rows right before the page curl transition and you can see parts of the detail view underneath right before the page curl transition loads. </p> <p>It looks like the detail view is displayed first, then an empty shell of a view curls away after the fact.</p> <p>I have set the table rows and table background color to black, white, anything but clearColor, and it still does it.</p> <p>Is it a timing issue? Should I put timing in to make sure that the detail view isn't pushed until after the modal view is dismissed? Maybe tell the Add item controller to display the detail view and not the tableview's addViewDisDimiss delegate method?</p>
    singulars
    1. This table or related slice is empty.
    1. This table or related slice is empty.
    plurals
    1. This table or related slice is empty.
    1. This table or related slice is empty.
    1. This table or related slice is empty.
    1. This table or related slice is empty.
    1. This table or related slice is empty.
 

Querying!

 
Guidance

SQuiL has stopped working due to an internal error.

If you are curious you may find further information in the browser console, which is accessible through the devtools (F12).

Reload