久久久久久久av_日韩在线中文_看一级毛片视频_日本精品二区_成人深夜福利视频_武道仙尊动漫在线观看

      1. <legend id='KaGGw'><style id='KaGGw'><dir id='KaGGw'><q id='KaGGw'></q></dir></style></legend>

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

        <small id='KaGGw'></small><noframes id='KaGGw'>

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

        iOS:UISplitViewController 無法推送到 UINavigationControl

        iOS: UISplitViewController cannot be pushed to UINavigationController(iOS:UISplitViewController 無法推送到 UINavigationController)
          <tfoot id='2G723'></tfoot>
        • <small id='2G723'></small><noframes id='2G723'>

            <legend id='2G723'><style id='2G723'><dir id='2G723'><q id='2G723'></q></dir></style></legend>

                <tbody id='2G723'></tbody>
              • <bdo id='2G723'></bdo><ul id='2G723'></ul>
                  <i id='2G723'><tr id='2G723'><dt id='2G723'><q id='2G723'><span id='2G723'><b id='2G723'><form id='2G723'><ins id='2G723'></ins><ul id='2G723'></ul><sub id='2G723'></sub></form><legend id='2G723'></legend><bdo id='2G723'><pre id='2G723'><center id='2G723'></center></pre></bdo></b><th id='2G723'></th></span></q></dt></tr></i><div class="qwawimqqmiuu" id='2G723'><tfoot id='2G723'></tfoot><dl id='2G723'><fieldset id='2G723'></fieldset></dl></div>
                  本文介紹了iOS:UISplitViewController 無法推送到 UINavigationController的處理方法,對大家解決問題具有一定的參考價值,需要的朋友們下面隨著小編來一起學習吧!

                  問題描述

                  限時送ChatGPT賬號..

                  我有一個使用導航控制器的 XCode iPad 項目.我試圖獲取一個按鈕來將 UISplitViewController 推送到導航堆棧,但收到此錯誤:

                  I have an XCode iPad project using a navigation controller. I tried to get a button to push a UISplitViewController to the navigation stack, but got this error:

                  拆分視圖控制器不能推送到導航控制器

                  Split View Controllers cannot be pushed to a Navigation Controller

                  原來 UISplitViewController 不能很好地與 UINavigationController 配合使用.但是,單擊此按鈕時,我仍然需要顯示拆分視圖控制器.我該怎么做呢?而且,同樣重要的是,如何制作后退按鈕以便用戶可以返回到導航控制器?

                  Turns out UISplitViewController doesn't play nicely with UINavigationController. However, I still need to show the split view controller when this button is clicked. How do I do this? And, also important, how do I make a back button so the user can be returned to the navigation controller?

                  推薦答案

                  要顯示 SplitViewController,您需要使用 setRootViewController.這是因為 SplitViewController 必須是根視圖控制器.

                  To display a SplitViewController you'll need to use setRootViewController. This is because a SplitViewController needs to be the root view controller.

                  來自 Apple 的文檔:

                  From Apple's Documentation:

                  拆分視圖控制器必須始終是您的任何界面的根創建.換句話說,您必須始終從UISplitViewController 對象作為應用程序的根視圖窗戶.然后,您的拆分視圖界面的窗格可能包含導航控制器、標簽欄控制器或任何其他類型的視圖你需要實現你的接口的控制器.

                  A split view controller must always be the root of any interface you create. In other words, you must always install the view from a UISplitViewController object as the root view of your application's window. The panes of your split-view interface may then contain navigation controllers, tab bar controllers, or any other type of view controller you need to implement your interface.

                  要返回,您需要使用 setRootViewController 返回之前的頁面.當我將我的 iPhone 應用程序轉換為通用應用程序時遇到了這個問題,最終我使用了 iPhone 的導航控制器和 iPad 版本的 setRootViewController.這有點令人遺憾,因為你不能很好地為它制作動畫不加一點修飾.

                  To get back you'll need to use setRootViewController to go back to the earlier page. I ran into this problem when I converted my iPhone app to universal, and ended up using a navigation controller for the iPhone and setRootViewController for the iPad version. It's a bit of a bummer because you can't animate it nicely without a bit of fudging.

                  這篇關于iOS:UISplitViewController 無法推送到 UINavigationController的文章就介紹到這了,希望我們推薦的答案對大家有所幫助,也希望大家多多支持html5模板網!

                  【網站聲明】本站部分內容來源于互聯網,旨在幫助大家更快的解決問題,如果有圖片或者內容侵犯了您的權益,請聯系我們刪除處理,感謝您的支持!

                  相關文檔推薦

                  How to animate a UIImageview to display fullscreen by tapping on it?(如何通過點擊動畫 UIImageview 以顯示全屏?)
                  To stop segue and show alert(停止 segue 并顯示警報)
                  iOS 5 storyboard, programmatically determine path(iOS 5 故事板,以編程方式確定路徑)
                  Icon already includes gloss effects(圖標已經包含光澤效果)
                  How does UIEdgeInsetsMake work?(UIEdgeInsetsMake 是如何工作的?)
                  UIProgressView and Custom Track and Progress Images (iOS 5 properties)(UIProgressView 和自定義跟蹤和進度圖像(iOS 5 屬性))

                  <small id='u2Buf'></small><noframes id='u2Buf'>

                • <legend id='u2Buf'><style id='u2Buf'><dir id='u2Buf'><q id='u2Buf'></q></dir></style></legend>
                      • <bdo id='u2Buf'></bdo><ul id='u2Buf'></ul>
                          <tbody id='u2Buf'></tbody>

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

                            主站蜘蛛池模板: 午夜av免费| 狠狠插狠狠操 | 久久精品国产一区二区三区不卡 | 欧美成人a | 人人人艹 | 一区中文字幕 | 亚洲日本中文字幕在线 | www.99re| 国产91一区 | 在线视频中文字幕 | 国产亚韩 | 亚洲视频一区在线观看 | 中文字幕1区2区3区 亚洲国产成人精品女人久久久 | 久久精品欧美一区二区三区麻豆 | www.色综合 | 日韩国产一区二区 | 久久综合伊人一区二区三 | 亚洲精品自在在线观看 | 国产视频久久久久 | 日韩精品欧美精品 | 成人午夜av | 99精品免费视频 | 国产91在线播放 | 91亚洲精 | 一区二区三区在线免费观看视频 | 91视频免费在观看 | 国产美女自拍视频 | caoporn免费在线视频 | 91最新视频 | 中文字幕高清 | 午夜精品久久久久久久星辰影院 | 韩日有码 | 午夜影院在线观看视频 | 久久er99热精品一区二区 | 日韩在线看片 | 综合九九 | 日韩电影中文字幕 | 一级片在线观看 | 国产成人黄色 | 黄色高清视频 | 亚洲午夜精品视频 |