UIModalTransitionStylePartialCurl disappear on iOS 8

末鹿安然 提交于 2019-12-11 03:08:29

问题


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.



来源:https://stackoverflow.com/questions/28368255/uimodaltransitionstylepartialcurl-disappear-on-ios-8

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!