Quantcast
Channel: Appcelerator Developer Center Q&A Unanswered Questions 20
Viewing all articles
Browse latest Browse all 8068

Images path in android and ios platform working alternatively

$
0
0

Hi folks,

I am developing an appcelerator application for android and ios.

I am using images for these platform. I am putting images under assets/images/android/ldpi,mdpi,hdpi folder. for android and for ios under assets/images/ios folder.

Problrm is that when I am using image as

"/image.png"
it is showing in ios and not in android.

If I change this to

"/images/image.png"
its working in android but not in ios.

Please suggest some solution so that it become visible in both platforms using the same code and path in tss file.


Viewing all articles
Browse latest Browse all 8068

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>