Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Swift hide navigation title but show its title as back button in next view controller

Tags:

ios

swift

I am using tab bar controller as main and following way- UITabbarController -> UINavigationController -> UITableViewController (with 5 tab bar & uncheck show navigation bar & made UIView with mail box image as button then click ) -> ViewController (with 5 tab bar & without back button )

I want to get back button as first tab bar title name like < Home

Please let me know the programmatic or structure way.

Thanks

like image 244
Shivam Sharma M Avatar asked Oct 15 '25 16:10

Shivam Sharma M


1 Answers

Try to hide titleView label

self.navigationItem.titleView = UIView()
like image 149
Alex Avatar answered Oct 18 '25 06:10

Alex



Donate For Us

If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!