CooperRS / RMPickerViewController

This is an iOS control for selecting something using UIPickerView in an UIAlertController like manner
MIT License
381 stars 51 forks source link

RMPickerViewController breaks if reused #7

Closed pronebird closed 10 years ago

pronebird commented 10 years ago

It seems that after RMPickerViewController dismissed something breaks next time I show it. UI shows up but buttons do not work.

CooperRS commented 10 years ago

Hmm, you are probably right. The RMPickerViewController was not designed to be reused. For a quick fix you could get a new instance, set the selected cell and show the new instance.

Will fix the bug in a future version.

pronebird commented 10 years ago

Thanks @CooperRS! No big deal to create new instance.

CooperRS commented 10 years ago

Should be fixed by c9e20ec.

@pronebird: Could you please verify?

pronebird commented 10 years ago

Works great! Fantastic job @CooperRS! Thank you so much!