ios - Create UIView with custom shape -
so wondering if there's way make uiview custom shape.
i'm trying make piano keyboard when user touches view delegate method responds playing noise. picture .png picture of key , transparent background.
thanks in advance.
you can't make uiview
in shape of, say, triangle, can make view transparent, add non-transparent content it.
for example, make view background of png (with, assume, partially transparent areas) make transparent uiview
, add image view it. better yet, use uiimageview
in place.
Comments
Post a Comment