1

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;
}
Shubham Sharma
  • 499
  • 4
  • 9
  • 21

4 Answers4

1

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

jjpp
  • 1,298
  • 1
  • 15
  • 31
1

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

TonyMkenu
  • 7,597
  • 3
  • 27
  • 49
1

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.

Shubham Sharma
  • 499
  • 4
  • 9
  • 21
0

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

Community
  • 1
  • 1
edsancha
  • 89
  • 9