开发者

Curl Effect on UIViewController

I would like to know if I can configure the PartialCurl transition effect on a UIViewController. I'm using something like:

theConfigCtrler.modalTransitionStyle = UIModalTransitionStylePartialCurl;
[self presentModalViewController:theConfigCtrler animated:YES];

But it hides 90% of the previous view and I can't come back to the previous view. It also changes my device orientation.

I'm trying to build a view where some data is displayed and I want to curl just the half of the view to show another view 开发者_如何学编程with some extra information where user can change some data.

Thanx!


make sure the size of your view which you're displaying under the curl has frame size that reflects how much curl you want. As the curl is calculated from the size of this view.


Please search for "Leaves" in GitHub, you will find a project which implements curl effect just like iBook

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜