Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
我想在我的 2 张图片中UITabeViewController,一张在顶部(在导航栏下方),一张在底部(在 tabBar 上方)。我想要做的是,当您滚动时tableView,这些图像将保持静止并且不会移动。
UITabeViewController
tableView
怎么可能做到这一点?
谢谢!
让表格视图变小并把 UIImageViews 放在上面和下面怎么样?
你有点不对劲。你只需要一个 UIViewController,它有一个 tableview 和两个 imageView。UITableView 必须滚动它的所有内容视图。UITableView 有两部分:一个大的内容视图,一个小的剪辑视图。当你滚动表格视图时,它改变了内容视图的可见范围。</p>