Re: Vertical orientation of UISlider
Re: Vertical orientation of UISlider
- Subject: Re: Vertical orientation of UISlider
- From: Carl Hoefs <email@hidden>
- Date: Wed, 20 Jul 2016 12:02:57 -0700
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@hidden> wrote:
>
> Hi Carl,
>
> Have you tried applying a transform to the slider? A simple rotation should do the trick.
>
>
> Jeff Kelley
>
> email@hidden <mailto:email@hidden> | @SlaunchaMan <https://twitter.com/SlaunchaMan> | jeffkelley.org <http://jeffkelley.org/>
>> On Jul 20, 2016, at 11:48 AM, Carl Hoefs <email@hidden <mailto:email@hidden>> 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@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