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: Esteban Torres <email@hidden>
- Date: Thu, 03 Oct 2013 13:39:06 -0600
Just create a UIButton that's custom; set the background color and the layer's corner radius, borderWidth and borderColor properties to something like 5.0f, 1.5f and [[UIColor blackColor] CGColor] and that should look pretty similar to the "old" "regular" buttons
--
Esteban Torres
(+506)8813-0934
Skype: esteban.a.torres.hernandez
On Thursday, October 3, 2013 at 1:09 PM, Dave wrote:
>
> On 3 Oct 2013, at 20:05, David Duncan <email@hidden (mailto:email@hidden)> wrote:
>
> > On Oct 3, 2013, at 11:56 AM, Dave <email@hidden (mailto:email@hidden)> wrote:
> >
> > > I want to create a button (UIButton) that actually looks like a button, e.g. with a border round, as in iOS <7 is iOS 7, preferably with IB but in code otherwise. Which properties do I need to tweak in order to get this?
> >
> >
> > You can create any button look you want with a custom button and the right image assets.
>
> Sorry, should have said, without using an Image.
>
> Cheers
> Dave
>
>
>
> _______________________________________________
>
> Cocoa-dev mailing list (email@hidden (mailto: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 (http://lists.apple.com)
>
> Help/Unsubscribe/Update your Subscription:
>
> This email sent to email@hidden (mailto:email@hidden)
_______________________________________________
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