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

Swift Menu Background Color Change

So I have this drop down menu programmed in Swift but I am not able to change the color of the background of the dropdown menu. I have the default color in Storyboard, but I can't seem to figure out how to change it programmatically. If anyone can help, it would be great!

usually is something like view.background = UIColor.blackColor()

But, It will help more if you are able to post your code on here.