简体   繁体   English

如何显示自定义搜索栏?

[英]How to show the custom Search Bar?

Hi I am working with the UISearchDisplay controller.working fine But it is showing like Apple's Default one.But I need like below image嗨,我正在使用 UISearchDisplay 控制器。工作正常但它显示为 Apple 的默认控制器。但我需要如下图所示在此处输入图片说明

But in app it is showing like below但在应用程序中它显示如下

在此处输入图片说明

I am using working with the Storyboard.我正在使用故事板。

No, you can't customise it.不,你不能自定义它。 If you want it to look different, roll your own from a UITextField and a UIButton.如果你想让它看起来不同,从 UITextField 和 UIButton 滚动你自己的。

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM