在storyboard 添加tab bar item

1.在storyboard中添加一个view controller

2.给新添加的view controller添加一个tab bar item

3.Add the segue

  • 按住control键,从tab bar controller 拖动到tab bar item controller
  • 选中Realtionship Segue中的view controllers即可
image.png

参考
https://www.albertgao.xyz/2017/12/14/how-to-add-item-for-tab-bar-controller/

DONE

你可能感兴趣的:(在storyboard 添加tab bar item)