• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
Customizing a UISwitch?
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Customizing a UISwitch?


  • Subject: Customizing a UISwitch?
  • From: Carl Hoefs <email@hidden>
  • Date: Fri, 04 Mar 2016 12:10:04 -0700

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


  • Follow-Ups:
    • Re: Customizing a UISwitch?
      • From: "Gary L. Wade" <email@hidden>
  • Prev by Date: Re: migrating from 32bit to 64 bit can not run project
  • Next by Date: Returning a string value from a c function to a Objective-C class method. Is there an approved approach?
  • Previous by thread: Re: Staggering new windows
  • Next by thread: Re: Customizing a UISwitch?
  • Index(es):
    • Date
    • Thread