TabBarItem - iOS Icons
See original GitHub issueHello, I’ve adapted the twitter example for use in an app that I’m building. The TabBar looks good on android:

but on ios, the icons are not sized correctly:

If I change the image prop so that it uses Image.resolveAssetSource() and resize the icons, they look better but they are still grainy:

Just wondering if there’s any way around this or if it would be possible for navigation to support SVGs as this would ensure the icons always look crispy. Thanks.
Issue Analytics
- State:
- Created a year ago
- Comments:5 (2 by maintainers)
Top Results From Across the Web
Changing UITabBar item image on se… - Apple Developer
I am using System Icons (SF Symbols). My Code: ... tabBar.items?[0] = UITabBarItem(title: "Myanmar", ... tabBar.items?[1] = UITabBarItem(title: "Singapore", ...
Read more >swift - Changing tab bar item image and text color iOS
Make sure your icon image has transparent background, and the icon itself is solid black (or close). Open the image file, save it...
Read more >Customizing Tab Bar Controller Icons. - Make App Pie
Under Tab Bar Item is the one I want to concentrate on:Selected Image. This is an image that's meant to display when the...
Read more >Tab bar (iOS) - Adobe Spectrum
Tab bar is a top-level navigation control for iOS apps. ... In portrait mode, labels are placed below the icon for each tab...
Read more >How to customize iOS tab icon colors (2 ways) - gists · GitHub
//change text under icon. UITabBarItem.appearance().setTitleTextAttributes([NSForegroundColorAttributeName: UIColor.init(netHex: 0x000000)], forState: .
Read more >
Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free
Top Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found

I changed the main image to be 25px x 25px and that sorted my issue out. I was just confused because the same image was displaying nicely on Android. Thanks for your help. 👍
You should use images that are the right size for the tabs. If you use a React Native
Imagecomponent then those images would show up large too, right?