coderLIfe coderLIfe - 1 month ago 14
Swift Question

How to change the tab bar item relationship with view controller?

I am new to iOS . How to change when embedded tab-bar controller in my three view controller .when I embedded it is the default relationship with

HistoryViewController
,but I want 1st tab item will be
RecentNewsViewController
and run time it will be first viewed .

Thanks, if need any information let me know please

Joe Joe
Answer

Note: Below answer based on the conversation between the question owner.

If you want your 1st VC to be RecentNewsViewController.You can simple drag and move your tabBarItem. Where ever you want to set in tabBarController.