On Jul 20, 2016, at 12:20 , Carl Hoefs <newsli...@autonomy.caltech.edu> wrote:
> 
> The transform works; it rotates the control about its center point.

I just checked, and the iOS HIG says that sliders are horizontal. The UISlider 
class reference says that sliders are "always displayed as horizontal bars”. So 
there’s perhaps good reason not to rotate one:

a. Accessibility. Will it be incomprehensible to users of VoiceOver or other 
accessibility features?

b. Autolayout. Will it adapt in size correctly?

c. Appearance. Will (e.g) drop shadows be in the right place?

Unfortunately, any issues like this are likely to be subtle and therefore it’s 
tempting to ignore them. I’m not saying don’t do it, I’m saying be aware of the 
consequences.

The alternative would be a non-UIControl approach, using a combination of a pan 
gesture recognizer for the input, with a custom view for the output. 

FWIW.
_______________________________________________

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

Reply via email to