In my NativeScript app, I am trying to set an image as the background using the CSS property
background-image: url("res://ic_more")
. It works perfectly on Android, but unfortunately, it does not display on iOS devices.
I have confirmed that the image is located in the App_Resources/iOS folder. I can even use it in an Image
element as indicated by the red arrow here:
<Image src="res://ic_more"></Image>
Despite this, the issue seems to be rooted in the CSS styling. I have already attempted to fix it by running tns platform clean ios
, but to no avail.
If anyone has any insights or solutions, I would greatly appreciate your help.