ios - UITableView 中带有 UITextView 的 UIToolbar

标签 ios objective-c

我想制作 UITableView 并像 iPhone 消息应用程序一样在气泡中显示消息。我需要在屏幕底部使用 UITextView 和按钮制作 UIToolBar 来发送消息,但问题是我在屏幕底部有 UITabBar,我不知道如何做这个。它必须看起来像 Skype 应用程序中的 UIToolBar。任何帮助表示赞赏。

enter image description here

如图所示,UITabBar 正下方有一个 UIToolBar 并固定在上面。

最佳答案

如果您使用的是 TableView Controller ,请改用工具栏位于底部、 TableView 位于其上方的 View 。同样在您的 xib/storyboard 中,相应地设置顶部和底部栏,以便您可以直观地看到它。

关于ios - UITableView 中带有 UITextView 的 UIToolbar,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/18250809/

相关文章:

iphone - 应用程序在后台时出现后台问题

ios - 如何将用户默认的一个 TextView 中的数据保存到另一个 TextView 而不删除以前的数据?

ios - prepareforsegue() 未执行(swift/storyboards)

ios - drawInRect 不读取/保留 UIImageView 转换

ios - 您可以动态分配 CFBundleDocumentTypes(使用私有(private) API 吗?)

ios - 如果用户将 "Set Automatically"设置为关闭,如何检查正确的当前时间

iphone - MGTwitterEngine 和 iPhone

ios - 在不同位置的 UICollectionView 单元格上添加标签 iOS

ios - 添加到 UITableView 时在 Storyboard 中使用 UITableViewCells 的正确方法是什么

iOS 从两级模态视图 Controller 传递值