GitHub Issue | n/a |
Type | Bug |
Priority | n/a |
Status | Closed |
Resolution | Cannot Reproduce |
Resolution Date | 2012-11-07T22:20:10.000+0000 |
Affected Version/s | n/a |
Fix Version/s | n/a |
Components | Appcelerator Modules, Titanium SDK & CLI |
Labels | device, error, ios, script |
Reporter | Eli Mor |
Assignee | Mauro Parra-Miranda |
Created | 2012-05-21T13:01:33.000+0000 |
Updated | 2016-03-08T07:47:55.000+0000 |
Slider does not render on device and when running the app, the following error is generated in the error log: ~message = "invalid method (createLabel) passed to UIModule";~
This is looks to be the result of the file located in a platform specific folder. when the file is under the resources folder, the object can render.
To Duplicate
1. Create new titanium mobile project (Single Window Application)
2. Clean the project
3. Copy the file from resources/ui/common/FirstView.js to resources/iphone/ui/common/FirstView.js
4. Delete (or rename) resources/ui/common/FirstView.js
5. Run on device (iPhone 4S)
"Slider does not render on device and when running the app" - Slider? I've tested this and can't reproduce it, the label displays correctly on both the device and simulator when FirstView.js is in either folder. Can you try building against the 2.1.3 GA build?
Until a response is received, closing as "Cannot Reproduce".
This was fixed in later versions. Thanks for the follow up.