backgroundView of UITableView no longer gets touch events

Originator:mbw234
Number:rdar://14707569 Date Originated:8/11/2013
Status:Open Resolved:
Product:iPhone SDK Product Version:7
Classification:Serious Bug Reproducible:Always
 
Summary:

The backgroundView of a UITableView no longer gets touch events.

Steps to Reproduce:

Create a UITableView, set its backgroundView, add a tap gesture recognizer to that view.

Expected Results:

Tap recognizer should fire when tapping the backgroundView that is behind the tableView.

Actual Results:

Recognizer does not fire.

Regression:

This began in either DP4 or DP5 of iOS 7

Notes:

The sample project I have attached shows the problem. Tapping the top area in iOS 6 fires an alert, but does not in iOS 7.

http://d.pr/f/JPvx

Comments

UITableViewWrapperView

the main difference in DP5 and iOS7 beta 5 seed is, that the Cells are wrapped in an UITableViewWrapperView instance. This instance is in front of the backgroundView and catches all the events, even when his bounds/frame are not above that.

By matthias.dittgen at Sept. 2, 2013, 12:08 p.m. (reply...)

Please note: Reports posted here will not necessarily be seen by Apple. All problems should be submitted at bugreport.apple.com before they are posted here. Please only post information for Radars that you have filed yourself, and please do not include Apple confidential information in your posts. Thank you!