What is difference between UIModalTransitionStyle and UIModalPresentationStyle ?

What is difference between UIModalTransitionStyle and UIModalPresentationStyle ?,第1张

概述up vote 0 down vote favorite For UIViewController, we have UIModalTransitionStyle and UIModalPresentationStyle enter link description here Question is what is the difference of them ? 1 Answer active

@H_502_41@
up Vote 0 down vote favorite

For UIVIEwController,we have UIModalTransitionStyle and UIModalPresentationStyle enter link description here

Question is what is the difference of them ?

1 Answer active oldest votes @H_502_41@
up vote 1 down vote accepted

UIModalTransitionStyle is used to specify how the modal form Transitions into vIEw. For example,it can come in vertically,flip horizontal,or do a partial curl.

UIModalPresentationStyle is used to specifIEd whether you want the modal form to be full screen (basically what iPhone uses) or otherwise (therefore only makes sense for iPad) as a page sheet (full height,wIDth is the size of the portrait mode screen wIDth),a form sheet (partial wIDth and partial height) or current context (i.e. what the parent container uses).

总结

以上是内存溢出为你收集整理的What is difference between UIModalTransitionStyle and UIModalPresentationStyle ?全部内容,希望文章能够帮你解决What is difference between UIModalTransitionStyle and UIModalPresentationStyle ?所遇到的程序开发问题。

如果觉得内存溢出网站内容还不错,欢迎将内存溢出网站推荐给程序员好友。

欢迎分享,转载请注明来源:内存溢出

原文地址:https://www.54852.com/web/1093965.html

(0)
打赏 微信扫一扫微信扫一扫 支付宝扫一扫支付宝扫一扫
上一篇 2022-05-28
下一篇2022-05-28

发表评论

登录后才能评论

评论列表(0条)

    保存