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 4321906
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 21, 20262026-05-21T08:48:21+00:00 2026-05-21T08:48:21+00:00

So I have a split view application I am working on and have encountered

  • 0

So I have a split view application I am working on and have encountered a strange UI bug. Here goes my best attempt to explain it. If I load the app in landscape mode, the top navigation bar of the root controller is the proper color. I am doing this in rootView’s ViewWillAppear method:

self.rvBar.tintColor = [UIColor colorWithRed:59.0/255
                               green:115.0/255
                    blue:185.0/255
                       alpha:1];

Now when I rotate the device, and display the view via a popover, the popover is black. Do you know how to change the color of the popover to the same blue? I have tried doing this in the willHide/ShowViewController methods in the split view controller delegate, but nothing seems to work.

Now part two, when I rotate back to landscape, the line above is called again, but instead of displaying the blue bar, it’s now grey! Has anyone seen a splitview behave like this before, and if so, what needs to be done to fix it?? Thanks in advance.

  • 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-05-21T08:48:22+00:00Added an answer on May 21, 2026 at 8:48 am

    I have discovered the solution to this problem if anyone is still wondering.

    After doing some digging, I discovered that there is an Apple bug that disables the modification of the UIToolBar tintColor property, and it gets stuck in whatever state it’s in. I had to send a message to the tintColor property in order to tell it that it is modifiable.

    extern id objc_msgSend (id, SEL, BOOL);
    objc_msgSend([(UINavigationController *)aViewController navigationBar], @selector(_setDisableCustomTint:), NO);
    /* Set the tintColor again */
    [(UINavigationController *)aViewController navigationBar].tintColor = [UIColor colorWithRed:59.0/255
                                                                                          green:115.0/255
                                                                                           blue:185.0/255
                                                                                          alpha:1];
    

    Obviously this won’t be acceptable if you plan on submitting your application to the Apple store, but for my purposes this did the trick. Hope this helps some of you guys out there…

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

Sidebar

Related Questions

Our application is well structured (well we did our best!) and we have split
I have an iPad Split View Application that brings up a modal view to
I have a split view controller in my Ipad app, in which the detail
Let's say I have a split view, and I want to fill half of
In a VS2008 web site project, I have a page open in split view.
I have a char array in a C application that I have to split
I have a large Java app that is split up into multiple projects. Each
I am working on a universal app, I used UISplitViewController in doing iPad application.
I have my sources split up in several directories, so for each directory I
I have a class split across two files. One of these is generated, the

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.