Quantcast
Viewing latest article 16
Browse Latest Browse All 16

How to read file that has spaces in it's name with Ti.Filesystem.getFile

When I try to read a file for example "some file name.txt". It gives me following error

"-[NSNull rangeOfString:]: unrecognized selector sent to instance 0x50736c8";

When I try to escape space characters or url encode the file name it fails to find the file. file.exists() returns false.

How can read such a file?


Viewing latest article 16
Browse Latest Browse All 16

Trending Articles



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