Closed json1994 closed 5 years ago
控制台有信息输出,请截图
请提供 Demo 看看
已解决,自身处理searchBar背景颜色时直接把视图给删除了导致的崩溃,希望后续可以出一个自定义UISearchBar样式的接口
@ChinaJson 这不是一个有效的 suggest,因为“自定义 UISearchBar 样式”是一个过于宽泛的表达,应该明确表达出具体是哪些样式要自定义但现在 UIKit、QMUI 的实现不方便。
如果只是背景颜色,UIKit 目前已经有 barTintColor
、setBackgroundImage:forBarPosition:barMetrics:
,而 QMUI 层面也在配置表里提供了 SearchBarBackgroundImage
、SearchBarBottomBorderColor
,从个人角度来看,我认为这已足够方便,并不需要动到 UISearchBar 内部的视图。
好的,知道了,感谢你的贡献 ---原始邮件--- 发件人:"MoLice"notifications@github.com 发送时间:2019年9月27日 星期五 下午4:28 收件人:"Tencent/QMUI_iOS"QMUI_iOS@noreply.github.com 抄送:"ChinaJson"1595371165@qq.com;"Mention"mention@noreply.github.com 主题:Re: [Tencent/QMUI_iOS] iOS 13适配 KVC QMUISearchController (#708)
@ChinaJson这不是一个有效的 suggest,因为“自定义 UISearchBar 样式”是一个过于宽泛的表达,应该明确表达出具体是哪些样式要自定义但现在 UIKit、QMUI 的实现不方便。
如果只是背景颜色,UIKit 目前已经有barTintColor、setBackgroundImage:forBarPosition:barMetrics:,而 QMUI 层面也在配置表里提供了SearchBarBackgroundImage、SearchBarBottomBorderColor,从个人角度来看,我认为这已足够方便,并不需要动到 UISearchBar 内部的视图。
— You are receiving this because you were mentioned. Reply to this email directly,view it on GitHub, ormute the thread.
Bug 表现 具体怎么引起的,使用 QMUISearchController 后造成的奔溃
截图
如何重现
预期的表现 正常情况下,应该是什么表现
其他信息