inVINCEable
inVINCEable

Reputation: 2206

Set the action button graphic to a UIButton

I know the action button graphic is for a UIBarButtonItem but is it possible to set that image to a UIButton? I already have the action set up, it's just the graphic now.

Just to specify i want to set this image enter image description here to a UIButton programmatically.

Upvotes: 0

Views: 62

Answers (1)

JoeFryer
JoeFryer

Reputation: 2751

There isn't a built-in way to do this, like there is for UIBarButtonItem. You'll need to create the icon yourself (in Sketch/Photoshop/whatever), and use that instead. Alternatively, there are plenty of vector icon sets available from various sources that will include this icon (a quick google will find one).

Upvotes: 1

Related Questions