0

I have a table view containing a segmentController as one of its cells. What I want to do is when I scroll up the table view, this segmentController is fixed on the top of the view as the content goes up, rather than disappear.

Zheng
  • 77
  • 1
  • 11
  • is the segemented control on inside of the first cell? it would be easier not to make it part of the cell to be honest, but instead add it outside of the tableview – meda Apr 09 '14 at 18:06
  • Hi, meda. No, it's not the first cell. I have A image view in the fist cell. And I want the segment cell stop scrolling when it reaches the upper margin of the view. – Zheng Apr 09 '14 at 19:06
  • have you consider adding a different view that will hold that controll? this way you wont need to deal with the tableView – meda Apr 09 '14 at 19:18
  • I found the solution :)http://stackoverflow.com/questions/10894227/uitableview-how-to-keep-table-rows-fixed-as-user-scrolls – Zheng Apr 09 '14 at 21:30

0 Answers0