diff --git a/DatePickerIOS.js b/DatePickerIOS.js index 8e550d4..40fdc13 100644 --- a/DatePickerIOS.js +++ b/DatePickerIOS.js @@ -139,6 +139,7 @@ export default class DatePickerIOS extends React.Component { ); return ( { this._picker = picker; }} diff --git a/ios/RNDatePicker/DatePicker.m b/ios/RNDatePicker/DatePicker.m index 306100a..25a2b15 100644 --- a/ios/RNDatePicker/DatePicker.m +++ b/ios/RNDatePicker/DatePicker.m @@ -64,12 +64,6 @@ // Setting picker text color [self setValue:UIColorFromRGB(intColor) forKeyPath:@"textColor"]; - SEL selector = NSSelectorFromString(@"setHighlightsToday:"); - NSInvocation *invocation = [NSInvocation invocationWithMethodSignature:[UIDatePicker instanceMethodSignatureForSelector:selector]]; - BOOL no = NO; - [invocation setSelector:selector]; - [invocation setArgument:&no atIndex:2]; - [invocation invokeWithTarget:self]; }