[AC-2242] require() fails to load files with path containing 'iphone' or 'android'
GitHub Issue | n/a |
---|---|
Type | Bug |
Priority | n/a |
Status | Closed |
Resolution | Invalid |
Resolution Date | 2013-03-21T18:06:19.000+0000 |
Affected Version/s | n/a |
Fix Version/s | n/a |
Components | n/a |
Labels | defect, ios |
Reporter | Young |
Assignee | Daniel Sefton |
Created | 2012-11-13T05:55:37.000+0000 |
Updated | 2016-03-08T07:41:14.000+0000 |
Description
Moving from TC to AC project.
Hi Young, Referencing platform paths is not supported and should not be done. Titanium automatically chooses resources based on what platform you're building for. So if you have a file named "myimage.png" in the iPhone folder, if you pass "myimage.png" to a view, it will automatically select the resource from the iPhone folder. Closing as invalid.