TabViewItem with Icon Image


#1

It seems to be impossible having title + icon in TabViewItem like it is very common in iOS.
There’s a documentation about this topic for Angular users. Unfortunately not for the Core Version users.
I tried iconSource=“res://…” but without no luck.

Can someone please explain to me how to make it happen?

For clarification, following screenshot shows a TabBar that looks similar to what I want to achieve:


#2

Must have been a typo but in case someone else is looking for help:

<TabView id="tabView">
    <TabView.items>
        <TabViewItem title="Example" ios:iconSource="res://example">
            <TabViewItem.view>
                // ...
            </TabViewItem.view>
        </TabViewItem>
    </TabView.items>
</TabView>

#3

what was the xml for the image in the first post?


#4

Sorry I don’t remember anymore. It’s been a while.