pbootcms网站模板|日韩1区2区|织梦模板||网站源码|日韩1区2区|jquery建站特效-html5模板网

      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="5l7jlxb" 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="djvhrnz" id='2G723'><tfoot id='2G723'></tfoot><dl id='2G723'><fieldset id='2G723'></fieldset></dl></div>
                  本文介紹了iOS:UISplitViewController 無法推送到 UINavigationController的處理方法,對大家解決問題具有一定的參考價值,需要的朋友們下面隨著小編來一起學(xué)習(xí)吧!

                  問題描述

                  限時送ChatGPT賬號..

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

                  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:

                  拆分視圖控制器不能推送到導(dǎo)航控制器

                  Split View Controllers cannot be pushed to a Navigation Controller

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

                  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:

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

                  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 應(yīng)用程序轉(zhuǎn)換為通用應(yīng)用程序時遇到了這個問題,最終我使用了 iPhone 的導(dǎo)航控制器和 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.

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

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

                  相關(guān)文檔推薦

                  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(圖標已經(jīng)包含光澤效果)
                  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="3pbj7fn" id='u2Buf'><tfoot id='u2Buf'></tfoot><dl id='u2Buf'><fieldset id='u2Buf'></fieldset></dl></div>
                          • <tfoot id='u2Buf'></tfoot>

                            主站蜘蛛池模板: 宝元数控系统|对刀仪厂家|东莞机器人控制系统|东莞安川伺服-【鑫天驰智能科技】 | 集装袋吨袋生产厂家-噸袋廠傢-塑料编织袋-纸塑复合袋-二手吨袋-太空袋-曹县建烨包装 | 丝杆升降机-不锈钢丝杆升降机-非标定制丝杆升降机厂家-山东鑫光减速机有限公司 | 路面机械厂家| 东莞爱加真空科技有限公司-进口真空镀膜机|真空镀膜设备|Polycold维修厂家 | 等离子空气净化器_医用空气消毒机_空气净化消毒机_中央家用新风系统厂家_利安达官网 | 小型数控车床-数控车床厂家-双头数控车床| 骨密度仪-骨密度测定仪-超声骨密度仪-骨龄测定仪-天津开发区圣鸿医疗器械有限公司 | 菲希尔X射线测厚仪-菲希尔库伦法测厚仪-无锡骏展仪器有限责任公司 | 数字展示在线_数字展示行业门户网站| [品牌官网]贵州遵义双宁口腔连锁_贵州遵义牙科医院哪家好_种植牙_牙齿矫正_原华美口腔 | 钛合金标准件-钛合金螺丝-钛管件-钛合金棒-钛合金板-钛合金锻件-宝鸡远航钛业有限公司 | 便民信息网_家电维修,家电清洗,开锁换锁,本地家政公司 | 视频直播 -摄影摄像-视频拍摄-直播分发 | 神马影院-实时更新秒播 | 泰国试管婴儿_泰国第三代试管婴儿费用|成功率|医院—新生代海外医疗 | 气力输送设备_料封泵_仓泵_散装机_气化板_压力释放阀-河南锐驰机械设备有限公司 | 电机铸铝配件_汽车压铸铝合金件_发动机压铸件_青岛颖圣赫机械有限公司 | 石牌坊价格石牌坊雕刻制作_石雕牌坊牌楼石栏杆厂家_山东嘉祥石雕有限公司 | Honsberg流量计-Greisinger真空表-气压计-上海欧臻机电设备有限公司 | 派财经_聚焦数字经济内容服务平台 | 上海平衡机-单面卧式动平衡机-万向节动平衡机-圈带动平衡机厂家-上海申岢动平衡机制造有限公司 | 私人别墅家庭影院系统_家庭影院音响_家庭影院装修设计公司-邦牛影音 | 哲力实业_专注汽车涂料汽车漆研发生产_汽车漆|修补油漆品牌厂家 长沙一级消防工程公司_智能化弱电_机电安装_亮化工程专业施工承包_湖南公共安全工程有限公司 | 快速卷帘门_硬质快速卷帘门-西朗门业 | 塑料检查井_双扣聚氯乙烯增强管_双壁波纹管-河南中盈塑料制品有限公司 | Safety light curtain|Belt Sway Switches|Pull Rope Switch|ultrasonic flaw detector-Shandong Zhuoxin Machinery Co., Ltd | 兰州UPS电源,兰州山特UPS-兰州万胜商贸 | 喷播机厂家_二手喷播机租赁_水泥浆洒布机-河南青山绿水机电设备有限公司 | 蔡司三坐标-影像测量机-3D扫描仪-蔡司显微镜-扫描电镜-工业CT-ZEISS授权代理商三本工业测量 | 耐火浇注料-喷涂料-浇注料生产厂家_郑州市元领耐火材料有限公司 耐力板-PC阳光板-PC板-PC耐力板 - 嘉兴赢创实业有限公司 | 岩棉板|岩棉复合板|聚氨酯夹芯板|岩棉夹芯板|彩钢夹芯板-江苏恒海钢结构 | 奥运星-汽车性能网评-提供个性化汽车资讯 | 广州各区危化证办理_危险化学品经营许可证代办 | 网站制作优化_网站SEO推广解决方案-无锡首宸信息科技公司 | 鑫铭东办公家具一站式定制采购-深圳办公家具厂家直销 | 消电检公司,消电检价格,北京消电检报告-北京设施检测公司-亿杰(北京)消防工程有限公司 | 无锡网站建设_小程序制作_网站设计公司_无锡网络公司_网站制作 | 防爆鼓风机-全风-宏丰鼓风机-上海梁瑾机电设备有限公司 | 苏州柯瑞德货架-仓库自动化改造解决方案 | 户外环保不锈钢垃圾桶_标识标牌制作_园林公园椅厂家_花箱定制-北京汇众环艺 |