Disable UITableView header or footer floating

Submitted by:Jhon Smith

Date added:28 November, 2012

Category:iPhone

How to disable UITableView header or footer floating

Tags: floating

Code Snippet:

@interface XTableView : UITableView {
}
@end
@implementation XTableView

- (BOOL) allowsHeaderViewsToFloat {
return NO;
}
- (BOOL) allowsFooterViewsToFloat {
return NO;
}
@end
 
 

Comments