开发者

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.

  1. If you want background to stay without movement - put UIImageView "under" your tableview and set backgroundColor for your view with alpha 0.0
  2. If you want your background to move with your table use setBackgroundColor: and colorWithPatternImage:, but it will be titled with size of cells
  3. If you want your background to move with table and background will be bigger then 1 cell - follow link recommended by KennyTM
0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜