UISearchBar animation glitch

Originator:futuretap
Number:rdar://33135559 Date Originated:05-Juli-2017 06:26 PM
Status:Duplicate/33082735/Open Resolved:
Product:iOS + SDK Product Version:11.0 beta 2
Classification:UI/Usability Reproducible:Always
 
Summary:
When using the new method to attach search bars by setting navigationItem.searchController, the search bar activation animation shortly reveals the containing UILayoutContainerView's background and the table view contentOffset is not animated to its new position.

Likewise, the dismiss animation doesn't animate the table view's contentOffset.

Steps to Reproduce:
Run the attached sample project and add one row using the + button. Reveal and tap into the search bar.

Expected Results:
The table view's content should animate towards the top. The first table view cell should stay attached to the search bar.

Actual Results:
Only when the search bar animation completes, the table view content offset is set to its new value.

Version:
11.0 beta 2

Notes:
See the attached screen grab movie, included in the sample project.

Comments

Apple

You are asking questions that are outside the scope of a bug report, but we’ll try to address them. The original report is just beginning investigation, so you probably should consider workarounds.

By futuretap at Aug. 3, 2017, 8:40 p.m. (reply...)

Me

So should we try to find (ugly) workarounds prior to the release of iOS 11? Please let us know, we'd much prefer if this gets resolved before the iOS 11 release but if not we'd try on our own.

By futuretap at Aug. 3, 2017, 8:39 p.m. (reply...)

Apple

Thank you for contacting us. It has not been determined how or when the issue will be resolved.

By futuretap at Aug. 3, 2017, 8:39 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!