Background image in a UITableView in the Root View of a Split View
I have an iPad app with a SplitView. On the left (in the RootView) there's开发者_如何学运维 a UITableView. How to insert a background image in that UITableView?
It really depends how you want this background to behaive.
- If you want background to stay without movement - put UIImageView "under" your tableview and set backgroundColor for your view with alpha 0.0
- If you want your background to move with your table use
setBackgroundColor:
andcolorWithPatternImage:
, but it will be titled with size of cells - If you want your background to move with table and background will be bigger then 1 cell - follow link recommended by KennyTM
精彩评论