views:

53

answers:

0

Hi All, I am trying to create a view that contains a UITableView which is larger than the view itself and once you finish scrolling that table view you will see a button underneath.

I was trying to add a UIScrollView and another background view behind that UITableView so I can simply create a hugh view with a table view and button as its sub-views and scroll across it. The problem is that my scroll view shouldn't start from the top of the screen and for some reason the table view now starts from the top of the screen. Even if I try to adjust it's y it bounces back to the top of the screen.I tried playing with the content offset, and change to view mode to Top Left in the IB but nothing worked.

Is there a solution to this problem? Or maybe a better way to implement such screens?