[AC-1485] A picker declared in a list template does not get included in the ios app
| GitHub Issue | n/a |
|---|---|
| Type | Bug |
| Priority | n/a |
| Status | Resolved |
| Resolution | Duplicate |
| Resolution Date | 2014-05-21T17:26:38.000+0000 |
| Affected Version/s | n/a |
| Fix Version/s | n/a |
| Components | Alloy |
| Labels | alloy, compiler, ios, picker |
| Reporter | Niccolo Perra |
| Assignee | Ritu Agrawal |
| Created | 2014-05-20T22:22:05.000+0000 |
| Updated | 2016-03-08T07:37:56.000+0000 |
Description
In a listView I declare this template
I then run the app in the emulator it works fine but when I compile it for an iPhone 5s the app crashes as soon as I open the window containing the Picker.
From the console log this is the issue:
Class not found: Ti.UI.Picker
Workaround:
If in the controller i add
Ti.UI.createPicker();
the compiler includes the picker and the app works fine
Comments
- Ritu Agrawal 2014-05-21