UIModalTransitionStylePartialCurl disappear on iOS

2019-07-21 04:06发布

问题:

I am trying to present my ViewController with UIModalTransitionStylePartialCurl transition. I am using the following code

PuzzleViewController *vc = [[PuzzleViewController alloc] init];
vc.modalTransitionStyle = UIModalTransitionStylePartialCurl;
vc.puzzleImage = imageView.image;
[self.navigationController presentViewController:vc animated:YES completion:nil];

UIModalTransitionStylePartialCurl work fine with iOS 7, like this

But for iOS 8, the visual part of the previous view on top disappear, so the user can't understand that he can click on the top left corner to back to previous view.

So is there a way to fix this on iOS 8?

回答1:

This is broken in iOS 8 and Xcode 6. Here is the Radar for it: http://www.openradar.me/18305611

This ticket was closed as a duplicate and I can't find the other, but it's there.