Navigation bar's hidesBarsOnSwipe animation crashes app when swipe gesture recognizer is added to table view.

Originator:aflinder_99
Number:rdar://20000000 Date Originated:9/3/2015
Status:Open Resolved:
Product:iOS Product Version:iOS 8.4.1
Classification:Crash Reproducible:Always
 
Summary:
When my navigation bar's hidesBarsOnSwipe animation is activated and I add my own UISwipeGestureRecognizer to my UITableView, swiping the table causes an application crash.

I believe this is related to:
https://openradar.appspot.com/21910679

I filed a bug report with Apple's Bug Reporter.

Steps to Reproduce:
1. Create a view controller with a UITableView and an embedded navigation controller.
2. Set your navigation bar's hidesBarsOnSwipe boolean to true to animate the navigation bar when the user scrolls the table view.
3.  Add a left or right UISwipeGestureRecognizer to the table view.
4.  When side-swiping a cell in the table view, the application crashes.

Expected Results:
Swiping a cell in the table view works properly and does not crash the application.

Actual Results:
Swiping a cell in the table view causes an animation error and the app crashes.

Version:
iOS 8.4.1 (12H321)

Notes:
The animation crash only occurs when I add a UISwipeGestureRecognizer to the table view. I believe that the gesture recognizer for the hidesBarsOnSwipe functionality and the one I added are interfering with each other.

Configuration:
iPhone 5S 64 GB AT&T

Attachments:
'Feed iOS crash info.rtf' was successfully uploaded.

2015-08-11 16:56:25.188 Home Feed prototype[491:96252] Touch: Failed to receive system gesture state notification before next touch

2015-08-11 16:56:25.189 Home Feed prototype[491:96252] Gesture: Failed to receive system gesture state notification before next touch

2015-08-12 09:29:34.879 Home Feed prototype[620:133585] *** Assertion failure in -[_UIAnimationCoordinator finishInteractiveAnimation], /SourceCache/UIKit/UIKit-3347.44.2/_UIAnimationCoordinator.m:167
2015-08-12 09:29:34.883 Home Feed prototype[620:133585] *** Terminating app due to uncaught exception 'NSInternalInconsistencyException', reason: 'Trying to finish an interactive transition that was not started interactively'
*** First throw call stack:
(0x184ae42d8 0x1967b00e4 0x184ae4198 0x185998ed4 0x189c49ab4 0x189897dd8 0x1896f3070 0x18958c6b4 0x1899fd38c 0x189550418 0x18954e7c4 0x18958a82c 0x189589ee4 0x18955d120 0x1897fe2b8 0x18955b634 0x184a9c240 0x184a9b4e4 0x184a99594 0x1849c52d4 0x18e41b6fc 0x1895c2f40 0x1000a7748 0x196e5aa08)
libc++abi.dylib: terminating with uncaught exception of type NSException

2015-08-11 16:10:15.910 Home Feed prototype[476:94615] *** Assertion failure in -[_UIAnimationCoordinator finishInteractiveAnimation], /SourceCache/UIKit/UIKit-3347.44.2/_UIAnimationCoordinator.m:167

2015-08-11 16:10:15.914 Home Feed prototype[476:94615] *** Terminating app due to uncaught exception 'NSInternalInconsistencyException', reason: 'Trying to finish an interactive transition that was not started interactively'

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!