问题标签 [uisearchresultscontroller]

For questions regarding programming in ECMAScript (JavaScript/JS) and its various dialects/implementations (excluding ActionScript). Note JavaScript is NOT the same as Java! Please include all relevant tags on your question; e.g., [node.js], [jquery], [json], [reactjs], [angular], [ember.js], [vue.js], [typescript], [svelte], etc.

0 投票
1 回答
49 浏览

swift - 使用 safeAreaLayoutGuide (Swift 5) 的动画

I would like a smooth animation of this view whenever the search bar is selected and deselected. 现在它是波涛汹涌的:

在此处输入图像描述

下面是我在 searchResultsUpdater 中的代码。据我了解,这些函数应该处理动画,我不确定这里有什么问题:

任何帮助表示赞赏,谢谢!

0 投票
0 回答
19 浏览

swift - 在 tvOS 中搜索的问题

搜索搜索栏和标签栏隐藏和咬合时在应用程序上显示时出现问题,TabelViewCell但单元格像疯了一样重复但我不知道为什么?collectionViewtvOS

这是我的代码:

代表:

搜索表视图:

搜索VC CollectionView:

向下滚动时出现问题的屏幕截图:

搜索时

向下滚动后

感谢您的任何建议。