Now TabBar component support base64-encoded data-uris for the icon, but it has a image scale problem. If I use 3X image, it will become too large for the tab bar.

And if I use 1X image, it will become too fuzzy for the retina screen.

The correct way should be like this:

Maybe UIImage converter should support scale for base64-encoded image , let js tell the native what scale the image is, or just use 3X image and make the scale 3.0.