Nick
Nick

Reputation: 923

When a UIPopoverController is displayed, how do you change the color of the controls behind the backdrop?

I want to gray out the controls (Like the "Hide List" button in the image below) behind a UIPopoverController when the popover is displayed, just like what the segmented control does by default. I've tried setting the tint color to the controls, but that doesn't work.

How do I gray out controls when a UIPopoverController is displayed?

Popoover control

Upvotes: 0

Views: 388

Answers (1)

CrimsonChris
CrimsonChris

Reputation: 4641

What you're describing is actually the default behavior of UIButton. I suspect you're changing the tintAdjustmentMode of a superview somewhere.

Upvotes: 1

Related Questions