UIPinchGestureRecognizer no longer works when placed on UIApplication's window

Originator:Paul.Wood.III
Number:rdar://35011689 Date Originated:October 16 2017, 3:15 PM
Status:Open Resolved:
Product:iOS + SDK Product Version:
Classification:Bug Reproducible:Always
 
Area:
UIKit

Summary:
When added a UIPinchGestureRecognizer to an application's window the gesture is not functional, such that it will not send it's target a callback when the gesture is being made.

Steps to Reproduce:
add a `UIPinchGestureRecognizer` to the window of an iOS Application

Expected Results:
The target selector should receive a callback on a pinch gesture

Actual Results:
the target does not receive a callback. This does work when using Xcode Version 9.0 (9A235) and it's simulators.

Version/Build:
iOS 11.1

Configuration:
Tested using both an iPhone 7 Plus running iOS 11.1 beta 2, and the simulators included in Xcode 9.1 beta 2. A sample project of this is included as an attachment. It works using Xcode 9.0 but does not work with Xcode 9.1 beta 2

Comments


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!