NavigationBar title color

Discussion in 'iOS Development' started by Just_For_Now, Sep 15, 2010.

  1. Just_For_Now

    Just_For_Now Active Member

    Joined:
    Mar 21, 2009
    Messages:
    1,898
    Likes Received:
    1
    Device:
    4G iPod touch
    So I made a custom Navigation bar for my app but now the problem is getting the title Black so it is visible. Is there anyway to change the font color of it and the detailview title too?

    Please Register or Log in to view images

    Please Register or Log in to view images



    thanks for any help ~
  2. ChrisGonzales90

    ChrisGonzales90 Banned

    Joined:
    Sep 5, 2010
    Messages:
    1,137
    Likes Received:
    0
    Device:
    iPad
    This is what the iPad has and I wish apple would have made it the same way on the iPhone 4 and iPod touch.
  3. Just_For_Now

    Just_For_Now Active Member

    Joined:
    Mar 21, 2009
    Messages:
    1,898
    Likes Received:
    1
    Device:
    4G iPod touch
  4. Danielcg

    Danielcg Banned

    Joined:
    May 18, 2010
    Messages:
    83
    Likes Received:
    0
    Device:
    3G iPod touch
    Hmmmmm, you could try looking in your app, (in the place where the custom bars are) and change something in a .plist file
  5. Just_For_Now

    Just_For_Now Active Member

    Joined:
    Mar 21, 2009
    Messages:
    1,898
    Likes Received:
    1
    Device:
    4G iPod touch
    Hehe. That's not how xcode projects work but thanks ~
  6. NolesFans

    NolesFans New Member

    Joined:
    Sep 23, 2008
    Messages:
    404
    Likes Received:
    0
    Device:
    iPod touch
  7. Just_For_Now

    Just_For_Now Active Member

    Joined:
    Mar 21, 2009
    Messages:
    1,898
    Likes Received:
    1
    Device:
    4G iPod touch
    Yes I looked into that but that would only take care of the mainview. If i wanted the title color on all the navigation i would have to do alot of changes.
  8. NolesFans

    NolesFans New Member

    Joined:
    Sep 23, 2008
    Messages:
    404
    Likes Received:
    0
    Device:
    iPod touch
    Why not to do
    [OBJC]+ (UILabel *)addLabelToNavigatonTitleView {
    // your UILabel code here
    }[/OBJC] in different NSObject file, stuff like Utilities

    Code reuse can be really useful.
  9. Just_For_Now

    Just_For_Now Active Member

    Joined:
    Mar 21, 2009
    Messages:
    1,898
    Likes Received:
    1
    Device:
    4G iPod touch
    Thanks. Just went with another bar color.
  10. SkylarEC

    SkylarEC Super Moderator Emeritus Staff Member

    Joined:
    Sep 19, 2007
    Messages:
    6,642
    Likes Received:
    129
    That text is a label. Just change the color. It is literally as easily done as it is said.

Share This Page