Re: Segmented Control Appearance

2012-03-28 Thread Andreas Mayer
Am 29.03.2012 um 02:52 schrieb David Delmonte: > Terminating app due to uncaught exception 'NSInvalidArgumentException', > reason: '-[_UIAppearance setTitleTextAttributes:]: unrecognized selector sent > to instance 0x7c957d20' > > > I would appreciate any help in understanding what I'm doing

Segmented Control Appearance

2012-03-28 Thread David Delmonte
I'm building an app for iOS 5.x and am trying to use the new UIAppearance capability. I want to style a UISegmented Control title as follows: UISegmentedControl *segmentedControl = [[UISegmentedControl alloc] initWithItems:segments]; segmentedControl.segmentedControlStyle =