Markus G.
Markus G.

Reputation: 1718

Tab Icons NativeScript

I tried to add icons for my TabView with VueJS in NativeScript. I downloaded a few Icons with size 128x128px as PNG. Afterwards I converted them to have the right scaling with the @3 @2 @1 annotation.

Trying to add them in the code like this:

<TabViewItem title="Events" iconSource="res://events">

The files are all in Resource Folder under iOS: enter image description here

After reloading and reinstalling the Preview app the Icons still do not show. Any idea why?

Upvotes: 1

Views: 197

Answers (1)

Nero
Nero

Reputation: 46

Sometimes it is needed to remove platform folder and rebuild the entire project to tns reload the new res files

Upvotes: 2

Related Questions