TableView 显示在标签栏后面 [英] TableView Showing Behind Tab Bar

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

问题描述

我正在更新我的应用程序以使用 iOS 7,但我在使用表格视图时遇到了问题.我的标签栏是半透明的.问题是当我滚动到表格视图的底部时,最后一个单元格的一部分仍然在标签栏后面.我想在最后一个单元格和标签栏之间留一点空间.我可以改用不透明的标签栏来解决这个问题,但我想让它保持半透明.

I am updating my app to use iOS 7 and I'm having a problem with a table view. My tab bar is translucent. The problem is when I scroll to the bottom of my table view, part of the last cell is still behind the tab bar. I'd like to have a bit of space between the last cell and the tab bar. I could fix this by using an opaque tab bar instead, but I want to keep it translucent.

推荐答案

尝试设置

self.edgesForExtendedLayout = UIRectEdgeNone;
self.extendedLayoutIncludesOpaqueBars = NO;
self.automaticallyAdjustsScrollViewInsets = NO;

tableview 控制器内部

Inside the tableview controller

这篇关于TableView 显示在标签栏后面的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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