//去掉UItableview headerview黏性
func scrollViewDidScroll(scrollView: UIScrollView) {
let sectionHeaderHeight = 45 as CGFloat
let yPostion = scrollView.contentOffset.y as CGFloat
scrollView.contentInset = UIEdgeInsetsMake(-scrollView.contentOffset.y, 0, 0, 0);
if((sectionHeaderHeight >= yPostion)&&(yPostion >= 0)){
scrollView.contentInset = UIEdgeInsetsMake(-scrollView.contentOffset.y, 0, 0, 0);
} else if (yPostion >= sectionHeaderHeight) {
scrollView.contentInset = UIEdgeInsetsMake(-sectionHeaderHeight, 0, 0, 0);
}
}