lionheart / openradar-mirror

A mirror of radars pulled from http://openradar.me/.
245 stars 17 forks source link

22201878: UIPickerView not reusing views #2622

Open openradar-mirror opened 8 years ago

openradar-mirror commented 8 years ago

Description

Summary: When using the UIPickerViewDelegate callback - (UIView )pickerView:(UIPickerView )pickerView viewForRow:(NSInteger)row forComponent:(NSInteger)component reusingView:(nullable UIView *)view the reusable view is always nil.

Steps to Reproduce: See attached project.

  1. Create a UIPickerView.
  2. Implement delegate method.

Expected Results: After enough views have been created to fill the visible rows, a cached view is returned.

Actual Results: Cached views are never returned, the reusable view is always nil.

Version: iOS 9 beta 5

Notes:

Configuration: Simulator iPhone 6

Product Version: iOS 9 beta 5 Created: 2015-08-08T09:07:30.166490 Originated: 2015-08-08T00:00:00 Open Radar Link: http://www.openradar.me/22201878

john156 commented 8 years ago

:+1: