I stored image.png in my Resources folder in Titanium app. I want to access to that file from within iOS module.
-(void)setTextureFile:(TiFile *)value { ENSURE_TYPE(value, TiFile); textureFile = value; CC3Texture* texture = [CC3Texture textureFromFile:value.path]; }this gives me error:
[ERROR] Script Error = *** +[NSString stringWithCString:encoding:]: NULL cString at app.js (line 31).
What is the correct way to to those things?
Your Answer
This question has been locked and cannot accept new answers.