我有2 ViewControllers
和我創建一個UIImageView
顯示像iPhone上的閃屏。我把它寫在TestAppDelegate.m
:觸摸ImageView到另一個ViewController
====================
splashScreen = [[UIImageView alloc] initWithFrame:CGRectMake(0, 0, 320, 480)];
splashScreen.image = [UIImage imageNamed:@"Default.png"];
[self.window addSubview:splashScreen];
sleep(6);
[splashScreen removeFromSuperview];
============= =======
我的問題是,
如果我談談這個imageview
我會去第二ViewController
。
其他時間睡眠後,自動到第1 ViewController
。
那麼,有可能做到這一點?
你的圖像是'UIButton'如何時,將叫什麼名字? –