开发者

UIModalTransitionStyleFlipHorizontal Vertically?

开发者 https://www.devze.com 2023-03-18 04:57 出处:网络
Is it possible to hack the UIModalTransitionStyleFlipHorizontal to be vertical instead of horizontal?

Is it possible to hack the UIModalTransitionStyleFlipHorizontal to be vertical instead of horizontal?

I would normally use a CATransition to do this, but that method requires inserting the view of one UIViewController into the other one, which results in it not being relea开发者_运维技巧sed properly.

So, is it possible without adding one as a subview of another?


You might try using the accepted answer from: UIView vertical flip animation and presenting the modal view half way through the animation. This will require some modification of that code, but it should be possible to do.

0

精彩评论

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