Hi i have a xib based project then i have added a storyboard "main.storyboard". But it still running the same xib as initial screen stead of storyboard.

```
2013-12-18 16:44:14.376 AePubReader[1882:60b] NSMainNibFile and UIMainStoryboardFile are both set. NSMainNibFile ignored.
2013-12-18 16:44:14.396 AePubReader[1882:60b] There is no app delegate set. An app delegate class must be specified to use a main storyboard file.

```

the following images are make sure that i have given storyboard as starting screen.

my old app delegate for xib file ,now i replace xib uiviewcontroller class from here and put my new storyboard viewcontroller class name

.h file

```
#import <UIKit/UIKit.h>

@class viewViewController;

@interface AePubReaderAppDelegate : NSObject <UIApplicationDelegate> {

    UIWindow *window;

    viewViewController *detailViewController;
}

@property (nonatomic, retain) IBOutlet UIWindow *window;

@property (nonatomic, retain) IBOutlet viewViewController *detailViewController;

@end

```

.m file

```
#import "AePubReaderAppDelegate.h"

#import "ViewController.h"

@implementation AePubReaderAppDelegate

@synthesize window, detailViewController;

#pragma mark -
#pragma mark Application lifecycle

- (BOOL)application:(UIApplication *)application didFinishLaunchingWithOptions:(NSDictionary *)launchOptions {    

//    // Override point for customization after app launch.
//    
//   self.window.rootViewController = self.detailViewController;
// [self.window makeKeyAndVisible];
//    
//   // [detailViewController loadEpub:@"ker"];

    return YES;
}

```