'Positioning the large title of a UINavigationBar

UINavigationBar

In the layout above, how would I adjust(indent) the position of the title so that it would line up with the contents of UITableViewCells?



Solution 1:[1]

It is a default behavior of your navigation bar's large title. You should not change the position of your navigation bar's title. Instead you should manage your tableview's cell and label of it so that it can align properly with title!

Solution 2:[2]

If you want to set the left space from large title, try this:

navigationController!.navigationBar.layoutMargins.left = 32

Sources

This article follows the attribution requirements of Stack Overflow and is licensed under CC BY-SA 3.0.

Source: Stack Overflow

Solution Source
Solution 1 Ketan Parmar
Solution 2 burnsi