//防止ios7.0之后tableView错位
#if __IPHONE_OS_VERSION_MAX_ALLOWED >= 70000
if ([[UIDevice currentDevice].systemVersion doubleValue] >=7.0)
{
self.edgesForExtendedLayout = UIRectEdgeNone;
self.extendedLayoutIncludesOpaqueBars = YES;
self.modalPresentationCapturesStatusBarAppearance = NO;
}
#endif