> On Nov 25, 2014, at 6:10 PM, Roland King <r...@rols.org> wrote: > >> On 26 Nov 2014, at 9:58 am, Carl Hoefs <newsli...@autonomy.caltech.edu> >> wrote: >> >> iOS 8 >> Is there some way (in IB or programmatically) to alter the size of the >> “slider ball” of a UISlider? >> -Carl >> > You can’t specify the size of it, no, but you can make an image of your own > the size, shape and colour you want and replace it entirely. Not ideal as it > changes from iOS release to release, the current one appears to be a white > circle with a thin grey border and a drop shadow, pretty easy to replicate, > could probably even generate the image in code if you wanted.
Got it to work using -setThumbImage: and -thumbRectForBounds:trackRect:value: Thanks! -Carl _______________________________________________ Cocoa-dev mailing list (Cocoa-dev@lists.apple.com) 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: https://lists.apple.com/mailman/options/cocoa-dev/archive%40mail-archive.com This email sent to arch...@mail-archive.com