Currently trying to display an image from my local on my ios app that i've developed using nativescript and not having any luck.
Template:
<GridLayout class="page page-content">
<StackLayout>
<Image src="~/img/icon.jpg" stretch="none"></Image>
</StackLayout>
</GridLayout>
File structure:
Not really sure what im doing wrong, i even tried to play around with the different path of the image.
"~/app/img/icon.jpg" and even put the direct path on there with no luck.
EDIT:
OK so i tried uploading a smaller image and that seemed to go in fine. Any way to optimize an image to work on nativescript?

--bundle), did you tryres://icon?