Search code examples
iphonedrawingquartz-2d

What is the best way do draw an strike text with iPhone sdk?


What is the best way do draw an strike text with iPhone sdk?

I want to draw a strike text like the tag do on html.

Is there any method to do this? or I should draw an line my self over the text?


Solution

  • I have solved this problem by subclassing UILabel and override draw rect.

    I have created an git for this.