objective c - I want to make some area of image transparent. Image is set as background of an UIButton -


i have image irregular shape. set background image of uibutton.
now, use obshapedbutton library enable touch image non-transparent.

but, reason if click on transparent image area, when view appears in screen, responds click, whereas should not.
i made area of image transparent using adobe cs4 photoshop. now, want try making transparent in xcode only. may helps.

have idea of image shape attaching sample image.

does know how that?enter image description here


Comments

Popular posts from this blog

c# - DetailsView in ASP.Net - How to add another column on the side/add a control in each row? -

javascript - firefox memory leak -

Trying to import CSV file to a SQL Server database using asp.net and c# - can't find what I'm missing -