Monday, December 16, 2013

Drag the end of the display tableview white background

tableview when dragged to an end, you can also drag down, but this time the screen, drag out multi-part will turn white if our tableviewcell background and white set does not match, it looks like it will appear very abrupt, one way to solve the set tableView.backgroundView property.
The whole tableview background to transparent, and then set the background
you want for each cellBut still not enough to feel beautiful, can achieve a similar effect ibooks's , as if the top is a big cell, but does not appear in the view, please master wing, thank you!
Reply:
Try to set type
Reply:
cited a floor ybh37 reply:
set type to try


Upstairs brothers could be more specific? I just started doing iphone, may not be clear, Oh, trouble
Reply:
[[UITableView alloc] initWithFrame: CGRectMake (0, 0, 320, 370) style: UITableViewStyleGrouped];

Reply:
Just put this issue is resolved! Thanks for the support but still upstairs buddy!
Idea is as follows: The tableview to be displayed in the frame of high intentional increase, y move up, so in fact, the end time or drag the white box will appear, but thanks to the offset y, and therefore can not see the white frame to the destination. This is the key to the frame of the high count tableview
Reply:
It should not be so complicated.
UITableView inherits UIScrollView
Set bounces attribute to NO is not on the list?

No comments:

Post a Comment