<legend id='IO75O'><style id='IO75O'><dir id='IO75O'><q id='IO75O'></q></dir></style></legend>
    1. <small id='IO75O'></small><noframes id='IO75O'>

        <bdo id='IO75O'></bdo><ul id='IO75O'></ul>

    2. <tfoot id='IO75O'></tfoot>
        <i id='IO75O'><tr id='IO75O'><dt id='IO75O'><q id='IO75O'><span id='IO75O'><b id='IO75O'><form id='IO75O'><ins id='IO75O'></ins><ul id='IO75O'></ul><sub id='IO75O'></sub></form><legend id='IO75O'></legend><bdo id='IO75O'><pre id='IO75O'><center id='IO75O'></center></pre></bdo></b><th id='IO75O'></th></span></q></dt></tr></i><div id='IO75O'><tfoot id='IO75O'></tfoot><dl id='IO75O'><fieldset id='IO75O'></fieldset></dl></div>

        iPhone:如何从左到右做一个presentModalViewController动画

        时间:2023-05-16

        • <i id='MRffX'><tr id='MRffX'><dt id='MRffX'><q id='MRffX'><span id='MRffX'><b id='MRffX'><form id='MRffX'><ins id='MRffX'></ins><ul id='MRffX'></ul><sub id='MRffX'></sub></form><legend id='MRffX'></legend><bdo id='MRffX'><pre id='MRffX'><center id='MRffX'></center></pre></bdo></b><th id='MRffX'></th></span></q></dt></tr></i><div id='MRffX'><tfoot id='MRffX'></tfoot><dl id='MRffX'><fieldset id='MRffX'></fieldset></dl></div>
            <tbody id='MRffX'></tbody>

          <legend id='MRffX'><style id='MRffX'><dir id='MRffX'><q id='MRffX'></q></dir></style></legend>

            1. <small id='MRffX'></small><noframes id='MRffX'>

              <tfoot id='MRffX'></tfoot>
                  <bdo id='MRffX'></bdo><ul id='MRffX'></ul>
                  本文介绍了iPhone:如何从左到右做一个presentModalViewController动画的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着跟版网的小编来一起学习吧!

                  问题描述

                  限时送ChatGPT账号..

                  我正在展示一个带有动画的模型视图.默认情况下,它是从下到上的.如何使动画从左到右?我知道我可以使用导航控制器.但实际上呈现视图不需要导航栏,模态呈现视图也不需要导航栏.我仍然想要从左到右的过渡.

                  I am presenting a model view with animation. As a default it comes from bottom to top. How can I make the animation to go from left to right? I know I could use a navigation controller. But actually the presenting view does not need a navigation bar and also the modally presented view does not need a navigation bar. Still I want a transition from left to right.

                  推荐答案

                  UIModalTransitionStyle只有四个:

                  UIModalTransitionStyleCoverVertical
                  UIModalTransitionStyleFlipHorizontal
                  UIModalTransitionStyleCrossDissolve
                  UIModalTransitionStylePartialCurl
                  

                  就像你说的,导航控制器会朝那个方向推进.如果您不想使用它,则必须自己为视图设置动画.

                  Like you said, a nav controller will push that way. If you don't want to use that, you'll have to animate the view yourself.

                  这篇关于iPhone:如何从左到右做一个presentModalViewController动画的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持跟版网!

                  上一篇:SwiftUI:清除模态状态或重新初始化 下一篇:如何以正确的方式使用导航控制器实现标签栏控制器

                  相关文章

                • <small id='v35z2'></small><noframes id='v35z2'>

                    <legend id='v35z2'><style id='v35z2'><dir id='v35z2'><q id='v35z2'></q></dir></style></legend>

                      <bdo id='v35z2'></bdo><ul id='v35z2'></ul>

                    1. <i id='v35z2'><tr id='v35z2'><dt id='v35z2'><q id='v35z2'><span id='v35z2'><b id='v35z2'><form id='v35z2'><ins id='v35z2'></ins><ul id='v35z2'></ul><sub id='v35z2'></sub></form><legend id='v35z2'></legend><bdo id='v35z2'><pre id='v35z2'><center id='v35z2'></center></pre></bdo></b><th id='v35z2'></th></span></q></dt></tr></i><div id='v35z2'><tfoot id='v35z2'></tfoot><dl id='v35z2'><fieldset id='v35z2'></fieldset></dl></div>
                      <tfoot id='v35z2'></tfoot>