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

    • <bdo id='JhSNp'></bdo><ul id='JhSNp'></ul>

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

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

    <tfoot id='JhSNp'></tfoot>

        iOS 5:在 iPad 中關閉模式后不調用 -viewWillAppear

        iOS 5 : -viewWillAppear is not called after dismissing the modal in iPad(iOS 5:在 iPad 中關閉模式后不調用 -viewWillAppear)

        • <tfoot id='BYS2P'></tfoot>

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

              <tbody id='BYS2P'></tbody>

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

              <legend id='BYS2P'><style id='BYS2P'><dir id='BYS2P'><q id='BYS2P'></q></dir></style></legend>
                • <bdo id='BYS2P'></bdo><ul id='BYS2P'></ul>
                  本文介紹了iOS 5:在 iPad 中關閉模式后不調用 -viewWillAppear的處理方法,對大家解決問題具有一定的參考價值,需要的朋友們下面隨著小編來一起學習吧!

                  問題描述

                  限時送ChatGPT賬號..

                  我正在使用以下代碼呈現模態:

                  I am presenting modal using the following code :

                  AddName *add = [[AddName alloc] initWithNibName:@"AddName" bundle:nil]
                  add.modalPresentationStyle = UIModalPresentationFormSheet;
                  
                  [self presentModalView:add animated:YES];
                  

                  在我工作之后,我使用以下代碼返回我的主視圖.

                  And After my work I use following code to go back on my main view.

                  [self dismissModalViewControllerAnimated:YES];
                  

                  所以默認調用-viewWillAppear.

                  我的問題是,

                  iOS4.3 上運行良好.

                  但它不適用于 iOS5.

                  我該怎么辦?或者這是 iOS5 中的任何錯誤嗎?

                  What should I do ? Or Is that any bug in iOS5?

                  推薦答案

                  -viewWillAppear 只保證在 -viewWillDisappear 也被調用的地方被調用.對于 iPad 上的大多數模式窗口,情況并非如此,因為它們不會遮擋整個頁面.

                  -viewWillAppear is only guaranteed to be called in places where the -viewWillDisappear has also been called. For most modal windows on the iPad, this is not the case, since they don't obscure the entire page.

                  您的問題的解決方案將取決于您需要 -viewWillAppear 來做什么,但一般來說,您可能需要直接從您關閉模式的同一個地方撥打電話視圖控制器.

                  The solution to your problem will depend on what you need the -viewWillAppear for, but in general, you're likely to need to make a call directly from the same place that you dismiss the modal view controller.

                  一種常見的機制,尤其是在您可能在其他地方使用相同的模態視圖的情況下,是給模態視圖控制器一個委托,當視圖即將消失時調用該委托.這將使您有機會從模態窗口中獲取響應,甚至只是在委托視圖中強制重新加載數據.

                  One common mechanism for this, especially in cases where you might use that same modal view somewhere else, is to give the modal view controller a delegate which is called when the view is about to disappear. This will give you a chance to take the responses from the modal window, or even just force a data reload in the delegate view.

                  希望這會有所幫助.

                  這篇關于iOS 5:在 iPad 中關閉模式后不調用 -viewWillAppear的文章就介紹到這了,希望我們推薦的答案對大家有所幫助,也希望大家多多支持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 故事板,以編程方式確定路徑)
                  UIProgressView and Custom Track and Progress Images (iOS 5 properties)(UIProgressView 和自定義跟蹤和進度圖像(iOS 5 屬性))
                  Semantic Issue: Property#39;s synthesized getter follows Cocoa naming convention for returning #39;owned#39; objects(語義問題:屬性的合成 getter 遵循 Cocoa 命名約定以返回“擁有對象) - IT屋-程序員軟件開發技術分享
                  Custom font is not working in my App?(自定義字體在我的應用程序中不起作用?)

                    <tbody id='m2t0d'></tbody>

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

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

                    • <legend id='m2t0d'><style id='m2t0d'><dir id='m2t0d'><q id='m2t0d'></q></dir></style></legend><tfoot id='m2t0d'></tfoot>
                            主站蜘蛛池模板: 欧美日本亚洲 | 操久久| 久久精品久久久 | 亚洲国产偷 | www.4hu影院 | 中文字幕在线播放第一页 | 欧美一级久久 | 国产亚洲一区二区在线观看 | 北条麻妃视频在线观看 | 草久在线视频 | 欧美日韩不卡合集视频 | 91传媒在线观看 | 国产色网站 | 日日干天天操 | 免费精品视频一区 | 自拍视频一区二区三区 | 日本黄色免费片 | 亚洲欧美视频一区 | 欧美一级免费片 | 色综合久 | 成人a视频在线观看 | 黑人精品xxx一区一二区 | 国产欧美一区二区三区日本久久久 | 亚洲欧洲一区 | 国产高清精品在线 | 欧美日韩在线观看视频 | 性精品 | 精品中文在线 | 久久久久国产一级毛片 | 精品国产一级片 | 在线视频国产一区 | 午夜精品视频 | 免费黄色片视频 | 免费成人高清 | 在线播放国产视频 | 伊人中文字幕 | www国产成人 | 国产成人综合久久 | 天天操天天玩 | 国产成人精品一区二区三区 | 天天色天天射天天干 |