Reputation: 477
Hi i have one plain table view. On top there is header ..i want to scroll only cells not header ..is any solution I also see this but it is not working Is it possible to disable floating headers in UITableView with UITableViewStylePlain?
Upvotes: 1
Views: 1160
Reputation: 49730
you can do like this as mention babyPanda like you have to take one UIView
and UItableview
into Your XIB.
Like bellow image"-
i just create a Demo for you please check bellow link and try, Hope its helps you
http://www.sendspace.com/file/xguycm
Upvotes: 1
Reputation: 1592
One possible alternative (might not be called a "solution"), is to make the view of headers the first cell in a section.
Note: If you try to fix header of the first section, then the only possible method might be, making it a view, whose frame is right above the table view.
Upvotes: 0