#pragma mark 滾動到相應位置 - (void)scrollWithType:(NSInteger)type { NSIndexPath * dayOne = [NSIndexPath indexPathForRow:0 inSection:type]; [self.myTableView scrollToRowAtIndexPath:dayOne atScrollPosition:UITableViewScrollPositionTop animated:YES]; }