Decimal point alignment in iOS UILabel during countdown?
Sorry I don't have any code yet, but would appreciate some advice! I have a countdown timer showing seconds with one decimal point in a UILabel (10.0, 9.9, 9.8, etc.). It works fine, but the decimal point moves around slightly depending on the size decimal value. Is there a way to align the text in the UILabel to the decimal point or should I create two labels (one for the seconds value aligned right and one for the decimal value aligned left)? Thanks! I think your suggestion of multiple labels is perfectly valid. Here is an attributed string solution (for m:ss but it should work with floating