I do the following, the property *tableView in UITableViewController is not 
backed by a _tableView instance variable, so I synthesize that (@synthesize 
tableView = _tableView;) and then in viewDidLoad:

if (!_tableView && [self.view isKindOfClass:[UITableView class]]) 
self.tableView = (UITableView *)self.view;
self.view = [[[UIView alloc] initWithFrame:[UIScreen 
mainScreen].applicationFrame] autorelease];
self.tableView.frame = self.view.bounds;
[self.view addSubview:self.tableView];

Then add whatever fixed view to self.view.

Better maybe is adding a view to self.tableView and then offset the view while 
scrolling, as described in the WWDC 2011 Session 125...

HTH


On Nov 27, 2013, at 10:14 AM, Rick Mann <rm...@latencyzero.com> wrote:

> Multiple sections.
> 
> -- 
> Rick
> 
> 
>> On Nov 27, 2013, at 1:03, Diederik Meijer | Ten Horses 
>> <diede...@tenhorses.com> wrote:
>> 
>> Not if your UITableView has only one section and you use the section's 
>> header view in the way Marcelo suggests. Sections headers scroll up to the 
>> top and then remain there - visible - while additional cells scroll 
>> underneath it…





_______________________________________________

Cocoa-dev mailing list (Cocoa-dev@lists.apple.com)

Please do not post admin requests or moderator comments to the list.
Contact the moderators at cocoa-dev-admins(at)lists.apple.com

Help/Unsubscribe/Update your Subscription:
https://lists.apple.com/mailman/options/cocoa-dev/archive%40mail-archive.com

This email sent to arch...@mail-archive.com

Reply via email to