Drawinto iOSLabel

Is there a way to draw into an iOSLAbel ? I need to draw border with round angle.

Rounded corners for the label can be done with SetCornerRadiusXC from @Jeremie_L iOS Design Extensions: https://github.com/jkleroy/iOSDesignExtensions

1 Like

I need to round only top corners not bottom corners

Does this help? Rounded Corners

It helps but there is no drawinto method in iOSLabel. I think I should use canvas.

If you can avoid drawing text into a canvas on iOS it is better.
iOS has accessibility features linked to the native controls that are lost when drawing text.

Alternative solution would be a container control with a label on top of a canvas.
Draw the borders in the canvas, let the label handle display of text.


This topic was automatically closed 182 days after the last reply. New replies are no longer allowed.