简体   繁体   English

从情节提要中更改选项卡栏按钮顺序

[英]Change tab bar button sequence from storyboard

I try to change tab bar button sequence. 我尝试更改选项卡栏按钮的顺序。

Right now sequence of tab bar is 现在选项卡栏的顺序是

  1. Notification 通知
  2. Message 信息
  3. Friend 友人
  4. My fav. 我的最爱。
  5. Home

I want sequence of tab bar 我想要标签栏的顺序

  1. Home
  2. Message 信息
  3. Friend 友人
  4. My fav. 我的最爱。
  5. Notification 通知

Move Home to first button 移至第一个按钮

在此处输入图片说明

You can select the TabBarIcon and drag and put wherever you want to put it like this, No need to remove all relationships. 您可以选择TabBarIcon并将其拖放到您想要放置到的位置,无需删除所有关系。

在此处输入图片说明

Just select the Tab you want to move any other position in TabbarController in Storyboard. 只需在Storyboard的TabbarController中选择要移动任何其他位置的Tab。

It will Work!!! 它将工作!!!

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM