最佳答案
试试这个
let p = NSMutableParagraphStyle()
p.firstLineHeadIndent = 5
navController.navigationBar.largeTitleTextAttributes = [NSAttributedStringKey.paragraphStyle: p]
关于ios - 导航栏大标题不缩进,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/48248122/