Drag and drop navigation bar in your xib / story board
U can add constraints to this navigation bar as per your requirement.
Then add Bar Button Item to your navigation bar
Bar Button Item takes it default position u cannot incorporate autolayout there.
Although if u want positions of Bar Button Item Fixed or Flexible u can make use of Fixed Space Bar Button Item or Flexible Space Bar Button Item.
If positions are fixed drag Fixed Space Bar Button between your two Bar Button Item's.
And if positions is not fixed its flexible drag Flexible Space Bar Button Item between your two Bar Button Item's.
Happy Coding.. :)
与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…