[TIMOB-23920] iOS: Ti.UI.Picker not working in Ti.UI.ListView on device
| GitHub Issue | n/a |
|---|---|
| Type | Bug |
| Priority | High |
| Status | Closed |
| Resolution | Fixed |
| Resolution Date | 2016-09-21T06:18:44.000+0000 |
| Affected Version/s | Release 5.4.0, Release 5.5.0 |
| Fix Version/s | Release 6.0.0 |
| Components | iOS |
| Labels | ios, listview, picker, qe-6.0.0 |
| Reporter | Hans Knöchel |
| Assignee | Hans Knöchel |
| Created | 2016-09-18T23:57:47.000+0000 |
| Updated | 2016-09-22T18:25:49.000+0000 |
Description
When using a Picker in a ListView template, it does work on the Simulator but fails on the device. It's the same issue as discussed in TIMOB-23616 and only requires a quick fix in the symbols-check.
PR (master): https://github.com/appcelerator/titanium_mobile/pull/8394 PR (6_0_X): https://github.com/appcelerator/titanium_mobile/pull/8395 Demo:
var win = Titanium.UI.createWindow({ backgroundColor: '#fff' }); var templates = { "PickerTemplate": { properties: { height: 150, backgroundColor: "transparent", selectionStyle: Ti.UI.iPhone.ListViewCellSelectionStyle.NONE }, childTemplates: [{ type: 'Ti.UI.Picker', bindId: 'picker' }] } }; var section = Ti.UI.createListSection({ items: [{ template: 'PickerTemplate' }] }); var listView = Ti.UI.createListView({ templates: templates, sections: [section] }); win.add(listView); win.open();PRs merged.
Verified as fixed, with the latest 6.0.X build no longer fails on devices. Tested On: iPhone 6 Plus 10.0.1 Device & Simulator iPhone 5S 9.3.5 Device Mac OSX El Capitan 10.11.6 Ti SDK: 6.0.0.v20160921191053 Appc Studio: 4.8.0.201609101003 Appc NPM: 4.2.8-6 App CLI: 6.0.0-45 Xcode 8.0 Node v4.4.7 *Closing ticket.*