UINavigationbar back button is missing

If you are running your app only on iOS 14.1 and the UINavigationBar is from RTL

navigationBar.semanticContentAttribute = .forceRightToLeft

the back button is not being displayed. and is showing the following layout

you can see the images here

If you are running your app only on iOS 14.1

What do you mean ? You do not get the problem on other versions of iOS ?

Did you change the content direction as well ?

navigationController.view.semanticContentAttribute = .forceRightToLeft
self.navigationController?.navigationBar.semanticContentAttribute = .forceRightToLeft

May read this: https://stackoverflow.com/questions/68019133/move-the-navigation-item-title-to-the-right-side-of-your-navigation-bar-in-swift

UINavigationbar back button is missing
 
 
Q