我不知道如何使用IBAction和and Button從一個窗口移動到另一個窗口,但是如果它們是執行「應用程序didFinishLaunchingWithOptions」的方法,那麼我正在遊蕩BOOL當前(自創建以來未更改)它看起來像這樣在基於視圖的應用程序中設置初始化視圖
- (BOOL)application:(UIApplication *)application didFinishLaunchingWithOptions:(NSDictionary *)launchOptions {
// Override point for customization after application launch.
// Set the view controller as the window's root view controller and display.
self.window.rootViewController = self.viewController;
[self.window makeKeyAndVisible];
return YES;
}
任何關於此事的幫助都會大受歡迎。