1
我可以使用沒有segues的導航(1),但我想使用它(2)。執行Segmentation時避免MomoryLeak
執行segue並導航回來讓我的應用程序變得更慢!因爲當我導航回來時它不會處理目標視圖。你如何以正確的方式使用這種方法?
/*1) This code ok! But what about segues */
if(_tabbarController==null)
_tabbarController = (UITabBarController)this.Storyboard
.InstantiateViewController ("MainTabbarController");
this.NavigationController.PushViewController (_tabbarController,true);
/*2) If I run this code I get a new instance of UITabbar */
this.PerformSegue("SegueShowDetail",this);
當然,我期待同樣的行爲,但我認爲'monotouch'的事情是不同的。如果我在我的應用中使用塞格導航會變得非常慢一段時間。針對Objective-C的AFAIK最近實施了一些自動解除分配。當我開始使用它時,我們應該手動取消分配。 – 2013-04-12 05:15:55