滚动型与标签栏 [英] ScrollView with Tab bar

查看:178
本文介绍了滚动型与标签栏的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我有一个实现类似聊天的东西。

I have a to implement something similar to a chat.

所以我想我会增加一个滚动视图则表视图,则视图的文本框,然后把它的顶部按钮的tableview。

So I thought I will add a scrollview then a table view then a view for textfield and send button then on top of it a tableview.

我也有在底部的TabBar

I also have a tabbar on bottom

这是正确的做法。我也希望把键盘和向上移动文本框

Is this the right approach. I also wanted to bring the keyboard up and move the text box upwards

图像不包含滚动视图,因为当过我把滚动查看其螺丝我

The images is not containing a scroll view because when ever i put a scroll view its screws me up

此外我也想知道如何增加取决于聊天消息中的行的大小。
只是粗图纸

Additionally I also want to know how to increase the size of the rows depending on the chat message. just a crude drawing

这是我迄今为止所取得

this is what I have achieved so far

我不能够根据这些数据,以增加标签的大小,也不是我能够把文本框起来的时候键盘显示。 (

I am not able to increase the size of the label according to the data, nor I am able to bring the textfield up when the keyboard is showing. :(

推荐答案

最后我得到了我的答案,这里是我的设置和我的输出。
感谢@Isuru他在<一个答案href=\"http://stackoverflow.com/questions/25693130/move-textfield-when-keyboard-appears-swift/25693748\">Move当键盘出现迅速文本框
和@esthepiking帮了我

Finally I got my answer, here is my set up and my output. Thanks to @Isuru for his answer in Move textfield when keyboard appears swift and @esthepiking for helping me out



这篇关于滚动型与标签栏的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆