My application has laid out scrolling. On each scrollview page there is an instance of a view controller (buttonViewController) that shows a grid of buttons. If the user clicks on one of the buttons, the buttonViewController launches the detailViewController modally, with the animation set to YES.
If I look at the first page (farthest to the left) or scroll, everything works correctly. However, if I scroll to any of the other pages, the modal view animation (sliding below in this case) does not appear. Instead, the entire view turns black for the same amount of time during which the animation will be performed, and then a fully-functional view of the modality controller is displayed. The same thing happens when you turn off the modal view controller.
The code is completely standard. In my ButtonViewController, I call:
[self presentModalViewController:detailController animated:YES];
The same code works no matter what page I'm looking at (although in different instances of buttonViewController, of course.)
How do I start debugging?
detailController... UIScrollView, 0 320, , , ( , ) 320 640, 640 (640 + 320) .. . , detailController CGRectMake (0,0,320,460), , , , (0,0) , viewcontroller , , , . , CGRectMake (320 * pageNumber, 0,320,460), , , . , .
UIView ( , UIScrollView) , , . , , , .