I have a UITableView
, I want to apply some transformation on it so it will support right to left languages, what I did is the following:
for(UITableViewCell *cell in self.RSSNewsTableView.visibleCells) { cell.transform = CGAffineTransformMakeRotation(180*0.0174532925); cell.textLabel.transform = CGAffineTransformMakeRotation(180*0.0174532925); cell.detailTextLabel.transform = CGAffineTransformMakeRotation(-M_PI); cell.textLabel.textAlignment = UITextAlignmentRight; // cell.transform = CGAffineTransformMakeRotation(2*M_PI); }
and what I got is the following:
what is the right transformation for the detailTextLabel
so it will be placed correctly under cell's textLabel
?