• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
Re: Vertical orientation of UISlider
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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


  • Follow-Ups:
    • Re: Vertical orientation of UISlider
      • From: Jens Alfke <email@hidden>
References: 
 >Vertical orientation of UISlider (From: Carl Hoefs <email@hidden>)
 >Re: Vertical orientation of UISlider (From: Jeff Kelley <email@hidden>)

  • Prev by Date: Re: Vertical orientation of UISlider
  • Next by Date: Re: Vertical orientation of UISlider
  • Previous by thread: Re: Vertical orientation of UISlider
  • Next by thread: Re: Vertical orientation of UISlider
  • Index(es):
    • Date
    • Thread