Something like this?

    slider.transform = CGAffineTransformMakeRotation(M_PI * 0.5);

I was looking for the obvious, a simple property like slider.orientation or 
some such.
-Carl


> On Jul 20, 2016, at 11:55 AM, Jeff Kelley <slauncha...@gmail.com> wrote:
> 
> Hi Carl,
> 
>       Have you tried applying a transform to the slider? A simple rotation 
> should do the trick.
> 
> 
> Jeff Kelley
> 
> slauncha...@gmail.com <mailto:slauncha...@gmail.com> | @SlaunchaMan 
> <https://twitter.com/SlaunchaMan> | jeffkelley.org <http://jeffkelley.org/>
>> On Jul 20, 2016, at 11:48 AM, Carl Hoefs <newsli...@autonomy.caltech.edu 
>> <mailto:newsli...@autonomy.caltech.edu>> wrote:
>> 
>> iOS 9
>> 
>> Is there a way to change the orientation of a UISlider to vertical instead 
>> of horizontal?
>> 
>> -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

Reply via email to