UISearchDisplayController lets tap on black dimming view go through
| Originator: | futuretap | ||
| Number: | rdar://14807983 | Date Originated: | 22-Aug-2013 05:34 PM |
| Status: | Duplicate/14697746/Open | Resolved: | |
| Product: | iOS SDK | Product Version: | 7.0 |
| Classification: | UI | Reproducible: | Always |
Summary: When using UISearchDisplayController, a black dimming view is displayed first and when any text in the search bar is deleted. Tapping on the dimming view should always cancel search mode. This works fine when the search display controller is initially shown. But when typing anything in the search bar and subsequently deleting it, tapping on the dimming view does not cancel the search mode but forwards the tap event to the underlying view. Steps to Reproduce: Use any app (compiled for iOS 6) with a search display controller and enter the search mode. Type a letter. Delete the letter. Now tap on the dimming view. Expected Results: Search mode should be canceled and the search display controller dismissed. Actual Results: Search mode is not canceled but the tap event is received by the view behind the dimming view. Regression: This works fine in iOS 6.1. Notes: See also this video: http://d.pr/v/zufr Apple Developer Relations, 27-Aug-2013 05:49 PM Engineering has requested a test case/sample app in order to further investigate this issue. Test Case/Sample App Requirements: https://developer.apple.com/bug-reporting/ios/test-case/ Ortwin Gentz, 28-Aug-2013 01:04 AM Pleae use the AdvancedTableSearch sample project. As described the problem occurs with every app using UIAearchDisplayController built on Xcode 4.6 and run on an iOS 7 device.
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!