Quantcast
Channel: Appcelerator Developer Center Q&A Tag Feed (space)
Viewing all articles
Browse latest Browse all 16

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

$
0
0

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 all articles
Browse latest Browse all 16

Trending Articles



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