I would like to draw a UIButton
with text that is using an outline i.e. stroke. So I tried to play around with titleLabel making my own custom label and assigning to UIButton.titleLabel
which does not work. Someone mentioned I can add UILabel
on top of UIButton
but I am not sure this solution is good.
Can someone recommend a stable approach to this issue? Thanks.