Add a bottom tab bar

1. Drag a view controller into the storyboard

 

2. Connect the tab bar controller to the new view controller and select the options below



 

at this time:

 



 

 

adding a

tab bar item to new viewcontroller

 

Choose a default picture and name here

 



 

running result

 

 

 

Guess you like

Origin http://10.200.1.11:23101/article/api/json?id=327041887&siteId=291194637
Recommended