1
votes

This app is universal and running perfectly fine on all other devices except iPod. I've used two storyboard.

This is the code which i've written in the AppDelegate.

 -(BOOL)application:(UIApplication *)application didFinishLaunchingWithOptions:(NSDictionary *)launchOptions
 {    
    UIImage* background = [UIImage imageNamed:@"navigation-bar-background"];
    [[UINavigationBar appearance] setBackgroundImage:background forBarMetrics:UIBarMetricsDefault];

    [[UIBarButtonItem appearance] setBackButtonBackgroundImage:[[UIImage imageNamed:@"black-back-button"]resizableImageWithCapInsets:UIEdgeInsetsMake(0, 10, 0, 10)] forState:UIControlStateNormal barMetrics:UIBarMetricsDefault];
    [[UIBarButtonItem appearance] setBackButtonBackgroundImage:[[UIImage imageNamed:@"black-back-button-landscape"] resizableImageWithCapInsets:UIEdgeInsetsMake(0, 10, 0, 10)] forState:UIControlStateNormal barMetrics:UIBarMetricsLandscapePhone];

    [[UISlider appearance] setThumbImage:[UIImage imageNamed:@"knob-button"] forState:UIControlStateNormal];
    return YES;
}
4
What is OS version of your iPod? And for what OS version you have complied your app? - rishi
iPod1? put a break point in didFinishLaunching does it work if yes then its too heavy for iPod - amar
iOS 6 is installed on the ipod and it comes in didFinishlaunching.It is iPod touch. - Shubham Sharma

4 Answers

1
votes

Just change the image(make sure the new trial image is png formatted) and see if it is showing.

1
votes

Maybe .. your iPod capabilities.. are not "compliant" (armv7, etc) with your release code What iPod generation? Check - again - your iPod capabilities: http://blog.manbolo.com/2012/10/30/uirequireddevicecapabilities-and-device-compatibility-matrix

1
votes

I forgot to add the main storyboard in the project.So,if anyone else get into the same problem then double check whether you have added a storyboard in main storyboard.

0
votes

There is a problem in how Xcode and how it generates the defaults when handling the storyboards in universal apps. Checkout this answer: https://stackoverflow.com/a/21632289/703530