Saturday, December 21, 2013

After UITableViewController drag up and down, automatic rollback

I was in my project added a UITableViewController, as a pop-up window, the UITableViewController loads a lot line information that is beyond the scope simulator, according to my idea is to use the mouse to drag upwards, then you can see below information, but once you release the mouse, and automatically roll back to the top, which is why ah? ? ? ? ? ?
Consult heroes ....
Reply:
I went out of me? ? ?
Reply:
tableview's contentinset enough.

tableview.contenInset = UIEdgeInsectMake (0,0,200,0);

Try.
Reply:
UIEdgeInsetMake (0,0,200,0);
Reply:
Not met, one screen is not enough, then automatically roll over the will.
Reply:
reference to the second floor windows_star reply:
tableview of contentinset enough.

tableview.contenInset = UIEdgeInsectMake (0,0,200,0);

Try.

Thank you, thank

No comments:

Post a Comment