0

In this I need scroll complete tableview to upward and tableview should stay upwards until user again scrolls down. It should come back to its original position.

Update

I need to scroll the tableview top and bottom on a image

App Developer
  • 419
  • 1
  • 3
  • 16
  • This thing happens by default. Please make sure height of table view is not more than that of screen , that might cause such issue. – Bhumit Mehta Apr 13 '15 at 05:29
  • Do you want to add tableView inside scrollView? – Pushparaj Apr 13 '15 at 05:30
  • We're not here to write your code for you. Show some effort and some code. – rdelmar Apr 13 '15 at 05:35
  • @zala yes,i need to add tableview inside scrollview,first tableview will be half of the scrollview,when we scroll complete tableview to upward tableview should stay up until the user scrolls down.actually it is scrolling upward but not staying up – App Developer Apr 13 '15 at 05:36

1 Answers1

0

From Apple documentation it's not advisable to add tableView inside scrollview(Reference).

Now according to design of your screen either you can have one tableView and in header of that tableView you can add all static content.Reference

or if your design must have tableView inside scrollView then this SO question maybe helpful to you.

I'd prefer first choice if possible.

By the way if you can fix the height of tableView then you can implement tableView inside scrollView easily.

Community
  • 1
  • 1
Pushparaj
  • 415
  • 8
  • 21