Skip to content

Commit 9e3a091

Browse files
authored
fix: support building with xCode 12 (#588)
* UIColor tintColor in Xcode 12 * Update RNDateTimePickerManager.m
1 parent 8f37c50 commit 9e3a091

File tree

1 file changed

+6
-0
lines changed

1 file changed

+6
-0
lines changed

ios/RNDateTimePickerManager.m

+6
Original file line numberDiff line numberDiff line change
@@ -12,6 +12,12 @@
1212
#import "RNDateTimePicker.h"
1313
#import <React/UIView+React.h>
1414

15+
#ifndef __IPHONE_15_0
16+
@interface UIColor (Xcode12)
17+
+ (instancetype) tintColor;
18+
@end
19+
#endif
20+
1521
@implementation RCTConvert(UIDatePicker)
1622

1723
RCT_ENUM_CONVERTER(UIDatePickerMode, (@{

0 commit comments

Comments
 (0)