Reminders IOS 5 UITableView Look & Design

早过忘川 提交于 2020-01-02 00:32:49

问题


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.


回答1:


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;

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.



来源:https://stackoverflow.com/questions/7786183/reminders-ios-5-uitableview-look-design

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!