Re: Customizing a UISwitch?
Re: Customizing a UISwitch?
- Subject: Re: Customizing a UISwitch?
- From: "Gary L. Wade" <email@hidden>
- Date: Fri, 04 Mar 2016 13:00:00 -0800
Maybe the docs should say iOS 7 and later since that's what it means. You can't do this in 7, 8, 9, or X/10/whatever iOS is coming this fall. It shouldn't be hard to roll your own UIControl subclass or work with the current classes.
--
Gary L. Wade (Sent from my iPhone)
http://www.garywade.com/
> On Mar 4, 2016, at 11:10 AM, Carl Hoefs <email@hidden> wrote:
>
> iOS 9.2
>
> The 2016 Apple documentation shows UISwitch -onImage and -offImage properties. They're not noted as deprecated, except for iOS 7, yet they don't seem to do anything on iOS9. Xcode shows these properties to be settable. I have set them both, in Xcode and in my app code, but they seem to have no effect on the storyboard or when running the app.
>
> What's the trick in customizing a UISwitch with different images? If this functionality is busted, is there another way to achieve it? I don't see an on/off style button in the palette.
> -Carl
>
_______________________________________________
Cocoa-dev mailing list (email@hidden)
Please do not post admin requests or moderator comments to the list.
Contact the moderators at cocoa-dev-admins(at)lists.apple.com
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden