In all my desktop apps, I use to have an HTML Page in Resources that shows up with this the HTMLViewer Open :
Sub Open() Handles Open
dim f as folderitem = specialfolder.GetResource("index.html")
me.LoadURL(f.URLPath)
End Sub
It displays the pictures next to it with the simplest of code :
<img src="printer@1x.png">
Strangely enough, the iOSHTMLViewer shows the page itself fine, but none of the pictures. I double checked, they are there, permissions are 644 and it should display the pictures, but it does not.
Is there anything specific to iOS I should know ? Some plist setting maybe ?
I opened the project of Elementary Later from january 2015, and sure enough, with exactly the same code, it displays pictures. Something seems to have changed since then.
When I drag a picture in the IDE named “printer@1x.png”, what gets copied into the bundle is “printer1x.png”. So all the links I had prepared in my local Resources folder are fracked up.
Now that I know what is going on it will be simple to correct.
This is really very vicious, because printer@2x and printer@3x are not changed… Go figure …