作者热门文章
- html - 出于某种原因,IE8 对我的 Sass 文件中继承的 html5 CSS 不友好?
- JMeter 在响应断言中使用 span 标签的问题
- html - 在 :hover and :active? 上具有不同效果的 CSS 动画
- html - 相对于居中的 html 内容固定的 CSS 重复背景?
我制作了一个带有 presentTextInputControllerWithSuggestions 的页面,我想自定义听写 View 。
例如,我不想看到“取消”,而是“重试”。
我看到在消息应用程序中,听写 View 是默认 View ,但带有“发送”而不是“完成”。
您知道这种定制是否可用吗?我该怎么做?
最佳答案
不,无法自定义“取消”和“完成”按钮。
Apple 可以使用他们的私有(private) API 方法为他们的应用定制 UI/UX 来做我们(目前)做不到的事情。
最好的办法是submit a feature request .
您可以通过查看文档方法或检查头文件来确定您能够更改的内容,这两种方法都可以在 Xcode 中轻松获得。
关于ios - 如何在 presentTextInputControllerWithSuggestions 中自定义听写 View ,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/38391196/
我是一名优秀的程序员,十分优秀!