SDSegmentedControl icon indicating copy to clipboard operation
SDSegmentedControl copied to clipboard

Unable to set two unique themes in the same application?

Open phtiv opened this issue 12 years ago • 1 comments

I'd like to have two separate color schemes for color stain and text color. Is there a way to do this in the same application? I'm able to set the new one after initializing the first, but when I try to set it back to the original scheme, nothing happens.

phtiv avatar May 30 '13 19:05 phtiv

Did you try using appearanceWhenContainedIn?

Something like:

[[SDStainView appearanceWhenContainedIn:[MyClass class], nil] setCornerRadius:2.0f];

http://developer.apple.com/library/ios/#documentation/uikit/reference/UIAppearance_Protocol/Reference/Reference.html

thiagoperes avatar Jul 26 '13 04:07 thiagoperes