When using the initWithTabBarSystemItem to create a UITabBar object, is there a way to set the title? I tried setting the title property (in the viewController element and tab), but it doesn't seem to matter. I know about the initWithTitle: image: method, but I want to use one of the system icons with a custom name.
initWithTabBarSystemItem
viewController
initWithTitle: image:
If yo uses systemItem, you cannot configure it, you will have to create a custom element and use the same or similar works ... you can get the cover from: http://www.teehanlax.com/blog/iphone-gui-psd /
You can do this in two ways.
UITabBarItem *tabBarItem = [[UITabBarItem alloc ] init ]; tabBarItem.title = @"Custom title";
or
Go to the interface builder; Click on UITabBarItem and edit it.
Source: https://habr.com/ru/post/889736/More articles:problems importing python module - pythonDetect if I'm running in SharePoint - reflectionDropDownList in ASP.NET MVC 3 - .netMove multiple commits from one branch to another? - gitHow to install User-Agent with LWP? - perlCyrillic characters in an INSERT request - phpProblems with Php, Mysql and UTF8 - phpWhat is a good open source package for creating flexible spam detection on a large Rails site? - linuxC / C ++ alternative for Apache Tika - javaDoubts about the use of polymorphism, as well as how polymorphism is associated with casting? - javaAll Articles