Welcome to the Treehouse Community

Want to collaborate on code errors? Have bugs you need feedback on? Looking for an extra set of eyes on your latest project? Get support with fellow developers, designers, and programmers of all backgrounds and skill levels here with the Treehouse Community! While you're at it, check out some resources Treehouse students have shared here.

Looking to learn something new?

Treehouse offers a seven day free trial for new students. Get access to thousands of hours of content and join thousands of Treehouse students and alumni in the community today.

Start your free trial

iOS

Disclosure Indicator not changing color on iPad (Bug)

I've created a tableview with a black background for all the table cells. Works great on the iPhone. However when I launch the app on the iPad the Disclosure Indicators are white boxes. I'm not sure why?

check out the pic to clarify what I mean.

![alt text]http://www.codea2.com/images/wtfisthis.png "Here is the photo")

![alt text]http://www.codea2.com/images/idk.png "Here is the photo")

5 Answers

Did you manually set the black background, or did you change the style of the table to black? If you manually changed the background only, it won't know you want the black style to be used, so it will continue using the default style. You can either change to a black style, or you will also need to change the disclosure buttons to black manually.

Funny thing is its change color in Xcode but not on the simulator or the iDevice that I deploy it onto.

I see what you mean. I do have the background set to black. I just tested it. I changed it to red. Nothing happened. Im going to try and see if cleaning the code out works and restart xCode.

![alt text]http://www.codea2.com/images/idk.png "Here is the photo") It changes in xCode but not when its running. I'm not sure what's going on at this point.

Make sure you quit the simulator, then try running it again.

I did, I even tried reseting the content and settings. No luck. I'm going to try and see if it happens on some of my other apps.

That's interesting. You mentioned you cleaned the project -- did you clean it when simulator had been quit, or was it still running? Sounds like there is some cache file that isn't being cleared.

Ill double check that.

So, I check that and its happening with all my apps that have tableviews. very odd.

I even reinstalled Xcode too. Hmm Ill hit up the Apple forums and see what they say.

Its a bug! Submitted bug 15504633 On Apple bug reporter

Good work! Lets hope they fix it in the next Xcode update. :)

Thx. It was driving me crazy lol