I have a single line UILabel with an attribute string that has an underscore. Does anyone know how to increase the space between this text and its underline? I would think that this should be commonplace, but I can not find the answer anywhere.
Thank!
I don't think you can, but you can subclass UILabel and create your own line (for example, using UIBezierPath or CGPath) at a distance of your choice using the drawRect: method in your subclass.
Source: https://habr.com/ru/post/1537576/More articles:How to protect sql statement from Divide By Zero error - sql-serverOptimization of Laravel Eloquent models - phpLaravel 4 - Choose Similar Models - phpHyperlocal decoding with signature mismatch (Google RTB) - javaf: facet - is there a list of predefined name attributes? - tagsSerial port code example using Async API in .net 4.5? - c #How to save exception context in async console application using AsyncPump? - c #JSHint "Плохое или ненужное побег". Сделайте двойные слэши начала/конца? - javascriptSingle sign-on with Thinktecture 2 identity server - asp.netС++: Разница между функцией, не являющейся членом, и функцией статического члена? - c++All Articles