views:

405

answers:

1

I've got a modal view controller that is being displayed using UIModalPresentationFullScreen with the TransitionStyle set as UIModalTransitionStylePartialCurl. This works beautifully.

My problem is that when the device is rotated, my view rotates (as intended), but the "curl" effect does not. Does anyone know if this is by design, or is there something else that needs to be done? Thanks.

A: 

Check if your ViewController that you are presenting has shouldAutorotateToInterfaceOrientation: implemented and it's returning the desired value.

chaos0815
Yes it does, the view rotates fine. it's the curl effect that is not rotate.
Mongo
Now I get it. The curled up parent view stays in the same orientation as before and only the modal view rotates as the device changes orientation. I would believe that you would have to rotate the parent view 'manually' as it's not currently active.
chaos0815