-1

when i make a detailTextLabel i just want to let it right in the label but it always down the textLabel how i change it just like the UITableViewCellStyleValue1 demo ?

kabi
  • 131
  • 1
  • 1
  • 5

1 Answers1

0

You have to set the cell property of your detail text label right alignment like below

cell.detailTextLabel.textAlignment = UITextAlignmentRight
Hiren
  • 12,720
  • 7
  • 52
  • 72