私はタブ バー ビュー アプリを使用しており、ストーリーボードを使用しています。私の Xcode バージョンは 4.3.3 です。基本的に、私のアプリは正常に読み込まれていましたが、3 番目のビューと 3 番目のビュー コントローラーを追加しましたが、適切に読み込まれなかったので、それらを削除したところ、適切に読み込まれません:/ スプラッシュ スクリーンは読み込まれますが、読み込まれませんさらに進みます。
ここに私のAppDelegate.hがあります
//
// AppDelegate.h
// Work App for Dad
//
// Created by Alfie Hopkin on 17/06/2012.
// Copyright (c) 2012 __MyCompanyName__. All rights reserved.
//
#import <UIKit/UIKit.h>
@interface AppDelegate : UIResponder <UIApplicationDelegate>
@property (strong, nonatomic) UIWindow *window;
@property (strong, nonatomic) UIViewController *FirstViewController;
@end
そして私の AppDelegate.m
//
// AppDelegate.m
// Work App for Dad
//
// Created by Alfie Hopkin on 17/06/2012.
// Copyright (c) 2012 __MyCompanyName__. All rights reserved.
//
#import "AppDelegate.h"
@implementation AppDelegate
@synthesize window = _window;
@synthesize FirstViewController;
- (BOOL)application:(UIApplication *)application didFinishLaunchingWithOptions:(NSDictionary *)launchOptions
{
// Override point for customization after application launch.
return YES;
}
- (void)applicationDidFinishLaunching:(UIApplication *)application {
// Override point for customization after app launch
[_window addSubview:FirstViewController.view];
[_window makeKeyAndVisible];
}
@end