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

_______________________________________________

Cocoa-dev mailing list ([email protected])

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 [email protected]

Reply via email to