Reputation: 1532
I have a tableview
and when i moving from first tableviw
to another tableview
it displays the some gap following bt second tableview
. And another problem is when scroll up the second tableview
also displays the top item of the first tableview
. Please tell me how to solve this?
Upvotes: 0
Views: 184
Reputation: 12036
Did you use different CellIdentifier in the tableViews? static NSString *CellIdentifier = @"Cell";
You should use different names for them because they are static, and the table views may reuse each others cells.
Upvotes: 1
Reputation: 15588
It's difficult to say what the problem is without seeing your code. Have you read through the UIViewController programming guide? They explain in detail how to accomplish this:
Upvotes: 1