SDSegmentedControl
SDSegmentedControl copied to clipboard
Unable to set two unique themes in the same application?
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.
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