Closed tonylukasavage closed 9 years ago
Currently the .add code on non-iOS systems will copy the files to Ti.Filesystem.applicationDataDirectory. This makes it trickier to add say an image file and then use it in a createImageView() call.
.add
Ti.Filesystem.applicationDataDirectory
createImageView()
> .add pic.jpg undefined > var image = Ti.UI.createImageView({ image: 'pic.jpg' }); undefined
> .add pic.jpg undefined > var image = Ti.UI.createImageView({ image: Ti.Filesystem.getFile(Ti.Filesystem.applicationDataDirectory, 'pic.jpg') }); undefined
This was resolved in #86
Currently the
.add
code on non-iOS systems will copy the files toTi.Filesystem.applicationDataDirectory
. This makes it trickier to add say an image file and then use it in acreateImageView()
call.ios
android