Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 8732245
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 13, 20262026-06-13T09:24:12+00:00 2026-06-13T09:24:12+00:00

In my iOS 5+ app, I use a custom navigation bar image, with custom

  • 0

In my iOS 5+ app, I use a custom navigation bar image, with custom navbar buttons.

First of all, here is how I tell my app to use the images :

In AppDelegate.m :

UIImage *navBarImage = [UIImage imageNamed:@"Navbar"];
[[UINavigationBar appearance] setBackgroundImage:navBarImage forBarMetrics:UIBarMetricsDefault];

UIImage *barButton = [[UIImage imageNamed:@"Nav-button"] resizableImageWithCapInsets:UIEdgeInsetsMake(0, 6, 0, 6)];
[[UIBarButtonItem appearance] setBackgroundImage:barButton forState:UIControlStateNormal
                                      barMetrics:UIBarMetricsDefault];

So, the images are used. Great. But, there are a couple of things happening :

• First, on my button, under the bottom corners, au few white pixels appear (they’re not on the original image, that’s for sure). I also use a custom back button, and same thing happens. This seems to be more visible under iOS 6 than iOS 5.

• When I open a modal VC, the navigation bar is “filled up to the status bar” with white pixels. Only for a modal VC.

Here are screenshots of the situation.

iOS 5 - Main

iOS 5 , main VC.

iOS 5 - Modal

iOS 5, modal VC.

iOS 6 - Main

iOS 6, main VC.

iOS 6 - Modal

iOS 6, modal VC.

So, what can I do ? The white pixels under the buttons are not highly visible (a bit more for the back button), but I really want a nice design for the app, and this doesn’t contribute at all..

Concerning the modal VC, I can use a “rectangle” image, which could cover the white pixels, but again, regarding design consistency, I’d prefer to use only one navigation bar..

As always, any explanation / solution / hint is greatly appreciated ! 😉

Thanks.


EDIT :

I just noticed that under iOS 6, the white pixels on top of the navigation bar are rounded, as the navigation bars in iOS 6.. Strange.. 🙂

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-06-13T09:24:13+00:00Added an answer on June 13, 2026 at 9:24 am

    Hm! just for testing purpose, can you download the following sample image for a navigation bar background and try this image instead? Just let us now how it looks with this image.

    I’m just guessing, but i suppose your image is not pixel perfect for the navigation bar dimensions! Probably a few pixels below the optimum height for the navigation bar.

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I'm trying to use custom font for my iOS app. Here is what I
Im trying to use a background image in a trigger.io ios mobile app but
I have a universal iOS app with a custom view that has three buttons,
I have an iOS-App which uses ARC. I don't use InterfaceBuilder, all UI is
I'd like to add custom fonts at runtime to an IOS app and use
I'am developing an iOS app with the MPMoviePlayer, I use custom controls (play, pause,
I'm developing an iOS app that use cordova(2.1), and some custom plugins. The problem
We have a need to capture signatures from an iOS app – the use
Is it theoretically possible to use in-app purchases to update an iOS app automatically?
I need to use a plist from an existing iOS app in my android

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.