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
agreatdaytocode
24,757 PointsDisclosure 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
Mike Bronner
16,395 PointsDid 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.
agreatdaytocode
24,757 PointsI 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.
agreatdaytocode
24,757 Points![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.
Mike Bronner
16,395 PointsMake sure you quit the simulator, then try running it again.
agreatdaytocode
24,757 PointsI 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.
Mike Bronner
16,395 PointsThat'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.
agreatdaytocode
24,757 PointsIll double check that.
agreatdaytocode
24,757 PointsSo, I check that and its happening with all my apps that have tableviews. very odd.
agreatdaytocode
24,757 PointsI even reinstalled Xcode too. Hmm Ill hit up the Apple forums and see what they say.
agreatdaytocode
24,757 PointsIts a bug! Submitted bug 15504633 On Apple bug reporter
Mike Bronner
16,395 PointsGood work! Lets hope they fix it in the next Xcode update. :)
agreatdaytocode
24,757 PointsThx. It was driving me crazy lol
agreatdaytocode
24,757 Pointsagreatdaytocode
24,757 PointsFunny thing is its change color in Xcode but not on the simulator or the iDevice that I deploy it onto.