self.overlay = [[UIView alloc] initWithFrame:CGRectMake(0, 0, CGRectGetWidth(self.bounds), NAVIGATION_BAR_HEIGHT)]; 这里要根据机型判断这个高度是多少