diff --git a/Sources/KIF/Additions/UIView-Debugging.m b/Sources/KIF/Additions/UIView-Debugging.m index a9311e7b..419964d7 100644 --- a/Sources/KIF/Additions/UIView-Debugging.m +++ b/Sources/KIF/Additions/UIView-Debugging.m @@ -136,6 +136,11 @@ - (void)printDatePickerState { case UIDatePickerModeCountDownTimer: printf(" UIDatePickerModeCountDownTimer"); break; +#if __IPHONE_OS_VERSION_MIN_REQUIRED >= 17040 + case UIDatePickerModeYearAndMonth: + printf(" UIDatePickerModeYearAndMonth"); + break; +#endif } printf(")"); printf(" (minute interval: %s)", @(datePicker.minuteInterval).stringValue.UTF8String);