如何设置 uitableview 的样式以创建漂亮的菜单 [英] How to style uitableview to create pretty menu

查看:19
本文介绍了如何设置 uitableview 的样式以创建漂亮的菜单的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我一直在开发具有侧菜单的应用程序.我受到了其他应用程序的启发,我希望我的菜单看起来与他们的相似.以下是一些示例(steam 应用菜单、fb 菜单)

I've been working on app, that has side-menu. I've been inspired by other apps, and I want my menu to look similar to theirs. Here are some examples (steam app menu, fb menu)

基本上我的问题是,这个菜单中使用了什么样的插座?我的第一个想法是,那些是带有部分和静态单元格的表格视图.但是,即使它们是 tableview,我也不知道如何以这种方式设置我的 tableview 的样式.我想出的只是这个蹩脚的设计:D

Basically my question is, what kind of outlets are used in this menu? My first thought was, that those are tableviews with sections and static cells. However, even if they are tableviews, I've got no idea how to style my tableview that way. All I came up with, was this crappy design :D

如果有人能告诉我正确的方式,我会很高兴:)谢谢你们

I would be very glad, if someone could show me right way :) Thank you guys

推荐答案

您走对了路.不幸的是,这只是设计方面和您使用的资产.

You look on the right path. Unfortunately it is simply down to design aspects and the assets you use.

这个项目以与 Facebook 非常相似的方式重新创建菜单.

This project recreates the menu in a very similar way to Facebook's.

这篇关于如何设置 uitableview 的样式以创建漂亮的菜单的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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