Re: How to get a "Normal" button in iOS 7/IB
Re: How to get a "Normal" button in iOS 7/IB
- Subject: Re: How to get a "Normal" button in iOS 7/IB
- From: Dave <email@hidden>
- Date: Thu, 03 Oct 2013 22:39:13 +0100
On 3 Oct 2013, at 21:13, Fritz Anderson <email@hidden> wrote:
> On 3 Oct 2013, at 2:09 PM, Dave <email@hidden> wrote:
>
>> Sorry, should have said, without using an Image.
>
> Why? Images are how this sort of thing gets done. Anything else is a stunt, unless you have some constraint you're not telling us about.
>
> (You're familiar with -[UIImage resizableImageWithCapInsets:] and related API?)
>
> I suppose (off the top of my head, not even "written in Mail"), you could have a UIButton subclass that returns a CALayer subclass of your devising from +layerClass, and have your layer set borders and corner-rounding.
I really don't want to make lots of images just for this and to be honest, if a Framework doesn't support an Industry Standard "Button" out of the box, then, it sucks!
Thanks
Dave
_______________________________________________
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