Page 1 of 1

Problem iOS8 - set filename to folderpath

Posted: Tue Oct 07, 2014 2:52 pm
by ChrisMukrow
What am I doing wrong or is this a bug? It works fully in iOS7 and lower. Thanks, Chris

Code: Select all

set the filename of image "imageHolder" to specialFolderPath("engine") & "/images/20.jpg"

Re: Problem iOS8 - set filename to folderpath

Posted: Tue Oct 07, 2014 3:23 pm
by Klaus
Hi Chris,

BRACKETS! :D
...
set the filename of image "imageHolder" to (specialFolderPath("engine") & "/images/20.jpg")
...

Always use brackets when concatenating file- and/or object-names in LC!


Best

Klaus

Re: Problem iOS8 - set filename to folderpath

Posted: Tue Oct 07, 2014 3:39 pm
by ChrisMukrow
Hi Klaus,

Thanks for the tip, but it doesn't fix it :(

Best, Chris

Re: Problem iOS8 - set filename to folderpath

Posted: Tue Oct 07, 2014 4:21 pm
by Klaus
Hi Chris,

hmmmm, try this to be sure ther IS in fact an image:
...
put (specialFolderPath("engine") & "/images/20.jpg") into tFile
answer (there is a file tFile)
...
If the dialog shows FALSE, then you need to check your folder structure again 8)

And don't forget that iOS and Adroid have CASE SENSITIVE file systems -> images <> Images


Best

Klaus

Re: Problem iOS8 - set filename to folderpath

Posted: Tue Oct 07, 2014 8:35 pm
by ChrisMukrow
Hi Klaus,

Okay strange.. The code returns true in iOS7 and false in iOS8 and the url is correct.

Chris

Re: Problem iOS8 - set filename to folderpath

Posted: Tue Oct 07, 2014 9:59 pm
by Klaus
Oh!? :shock:

Re: Problem iOS8 - set filename to folderpath

Posted: Wed Oct 08, 2014 10:17 am
by ChrisMukrow
This bug is fixed in 6.6.4 RC2, bugreport: http://quality.runrev.com/show_bug.cgi?id=13583

Re: Problem iOS8 - set filename to folderpath

Posted: Wed Oct 08, 2014 12:04 pm
by Klaus
Ah! :D




Your message contains 6 characters. The minimum number of characters you need to enter is 10.