Project: titanium
Issue TIMOB-19203: iOS9: UIPickerView and UIDatePicker are now resizable
{quote} UIPickerView and UIDatePicker are now resizable and adaptive—previously, these views would enforce a default size even if you attempted to resize them. These views also now default to a width of 320 points on all devices, instead of to the device width on iPhone. Interfaces that rely on the old enforcement of the default size will likely look wrong when compiled for iOS 9. Any problems encountered can be resolved by fully constraining or sizing picker views to the desired size instead of relying on implicit behavior. {quote} Demo code: {code} var win = Ti.UI.createWindow(); var picker = Ti.UI.createPicker({height: 500}); var data = []; data[0]=Ti.UI.createPickerRow({title:'Bananas'}); data[1]=Ti.UI.createPickerRow({title:'Strawberries'}); data[2]=Ti.UI.createPickerRow({title:'Mangos'}); data[3]=Ti.UI.createPickerRow({title:'Grapes'}); picker.add(data); picker.selectionIndicator = true; win.add(picker); win.open(); {code} On iOS8, nothing should change and the height is ignored. On iOS9, the height should be honored and the picker should resize.
Story points: 5