How can we change the semantic to LTR of a tableview cell when the whole screen is set as RTL?
Create a view inside the cell and add all the controllers inside it and then use view semanticContentAttribute to forceLeftToRight, in the above case write inside awakeFromNib() -
backView.semanticContentAttribute = .forceLeftToRight
This worked for me
You need to change semanticContentAttribute
for the tableView, changing the cell semanticContentAttribute
won't do any change.
tableView.semanticContentAttribute = .forceLeftToRight
That should get the job done.