提醒IOS 5 UITableView Look&设计 [英] Reminders IOS 5 UITableView Look & Design

查看:105
本文介绍了提醒IOS 5 UITableView Look&设计的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我想在IOS 5 Reminders应用程序中创建与记事本相同的UITableView外观。
创建此视图的最佳方法是什么,注意:
1.垂直双线分隔符
2.圆角,如UITableViewStyleGrouped中的情况,但也适用于组标题视图。

I would like to create the same UITableView look of a notepad as is in the IOS 5 Reminders application. What is the best way to go about creating this view, note: 1. Vertical double line separator 2. Rounded Corners as is the case in UITableViewStyleGrouped but also for the group header view.

推荐答案

嗯,有很多自定义图像,Apple(如此精美)制作如酷 UIPageControl 或你可以在photoshop中制作的背景,或者你可以花时间学习用Apple的绘图课程。但是对于边缘的舍入,它只是将 QuartzCore.h 导入到您的项目中,并根据要求设置所需的UIView / UITableView / UIImageView的核心半径在其他地方

Well, there is a lot of custom images that Apple (so beautifully) made such as the cool UIPageControl or the background(s) which you could make in photoshop, or you could take the time and learn to do some of the cool visuals with Apple's drawing class. But as far as the rounding of the edges it's just importing QuartzCore.h into your project and setting the corer radius of the UIView/UITableView/UIImageView desired as asked here.

view.layer.cornerRadius = 5;

如果您还询问他们设置通用应用程序的方式,那么(有点)理论上很简单。这是一个UIVcroll的UIViews,它持有背景的UIImages和UITableViews,用于该页面上的数据。

If you are also asking about the way they have set up the general app then it's (sort of) simple in theory. It's a UIScrollView of UIViews holding UIImages for backgrounds and UITableViews for the data on that page.

这篇关于提醒IOS 5 UITableView Look&设计的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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