diff --git a/TimesSquare/TSQCalendarRowCell.m b/TimesSquare/TSQCalendarRowCell.m index 0cf087b..6c69dcf 100644 --- a/TimesSquare/TSQCalendarRowCell.m +++ b/TimesSquare/TSQCalendarRowCell.m @@ -56,7 +56,7 @@ - (void)createDayButtons; NSMutableArray *dayButtons = [NSMutableArray arrayWithCapacity:self.daysInWeek]; for (NSUInteger index = 0; index < self.daysInWeek; index++) { UIButton *button = [[UIButton alloc] initWithFrame:self.contentView.bounds]; - [button addTarget:self action:@selector(dateButtonPressed:) forControlEvents:UIControlEventTouchDown]; + [button addTarget:self action:@selector(dateButtonPressed:) forControlEvents:UIControlEventTouchUpInside]; [dayButtons addObject:button]; [self.contentView addSubview:button]; [self configureButton:button]; @@ -87,7 +87,7 @@ - (void)createTodayButton; self.todayButton = [[UIButton alloc] initWithFrame:self.contentView.bounds]; [self.contentView addSubview:self.todayButton]; [self configureButton:self.todayButton]; - [self.todayButton addTarget:self action:@selector(todayButtonPressed:) forControlEvents:UIControlEventTouchDown]; + [self.todayButton addTarget:self action:@selector(todayButtonPressed:) forControlEvents:UIControlEventTouchUpInside]; [self.todayButton setTitleColor:[UIColor whiteColor] forState:UIControlStateNormal]; [self.todayButton setBackgroundImage:[self todayBackgroundImage] forState:UIControlStateNormal];