简体   繁体   中英

UITableViewCell like Clock App on iPhone

I wanted to do the same design as the clock app on iOS for my UITableView, but don't really know the different steps. So in my app I have a UITabBarController, my second tab contains a UINavigationController that loads a UITableViewController (exactly like on the screenshot below).

So for example, if I have 3 cells only, I just want to have 3 cells and not others under, and see a custom image in background (like this blue stripes or the world map in the Clock App).

UITableviewController 时钟应用

I have the background for the cells already (gray background on the Clock app above). Thanks!

You actually didn't ask a question. Anyway to do the thing on screenshot you need to set background of UINavigationController to desirable and set UITableViewController tableView background color to clearColor . Also you need to set separator color of tableView to clearColor . If your cells is not full a screen you will not see other cells.

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM