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
 ____________________________________________________________________
 [email protected]                http://www.FourthWorld.com

_______________________________________________
use-livecode mailing list
[email protected]
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-livecode

Reply via email to