In a UITableView grouped style, the background of the table view is sort of like a grayish texture color. How can I grab that value such that I can set the entire background of a UIViewController to be that color?
相关问题
- CALayer - backgroundColor flipped?
- Core Data lightweight migration crashes after App
- Core Data lightweight migration crashes after App
- How can I implement password recovery in an iPhone
- State preservation and restoration strategies with
相关文章
- 现在使用swift开发ios应用好还是swift?
- UITableView dragging distance with UIRefreshContro
- Could I create “Call” button in HTML 5 IPhone appl
- TCC __TCCAccessRequest_block_invoke
- Where does a host app handle NSExtensionContext#co
- Unable to process app at this time due to a genera
- Swift - hide pickerView after value selected
- Popover segue to static cell UITableView causes co
...or you could use the pattern color that groupTableViewBackgroundColor itself references:
this works equally well on iOS6...
If you are developing for the iPhone and iPod touch,
UIColor
defines agroupTableViewBackgroundColor
pattern that you can use:You can also find this color in Interface Builder:
This won't be available on the iPad, however. You'll have to grab the image yourself and do a
UIColor.colorWithPatternImage:
instead.