我想在UITabbarViewController完全加載並顯示在屏幕上時收到通知?iPHone - 檢測UITabBarController委託方法?
因爲它是從UIViewController繼承我試圖設置委託給我的appdelegate和實現viewDidAppear,但它永遠不會被調用。
任何解決方案?
- (BOOL)application:(UIApplication *)application didFinishLaunchingWithOptions:(NSDictionary *)launchOptions
{
self.tabbar.delegate = self;
//other stuff
}
- (void)viewDidAppear:(BOOL)animated
{
NSLog(@"asdasd");
}
你想完成什麼? – Anna 2011-04-28 21:00:49