Problem reading 'inbox' (launched-with) files on iOS 5.1?
Richard Gaskin
ambassador at fourthworld.com
Fri Nov 6 14:29:58 EST 2015
Ben Rubinstein wrote:
> This works fine on my iPhone 4s under iOS 8.4; and on an iPad 2 under iOS
> 7.1.1; but on an iPad 1 under iOS 5.1.1, it fails.
>
> Specifically, attempting to load the data using
> put URL tSrcURL into tData
>
> yields empty and the result is "can't open file".
With any file I/O routines it's essential to check "the result", and
very helpful to also use "sysError" to find out what the OS is trying to
tell us about why something went wrong:
put url tSrcURL into tData
if the result is not empty then
answer the result &"("& sysError() &")"
end if
--
Richard Gaskin
Fourth World Systems
Software Design and Development for the Desktop, Mobile, and the Web
____________________________________________________________________
Ambassador at FourthWorld.com http://www.FourthWorld.com
More information about the use-livecode
mailing list