question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Exception thrown on iOS 14 beta if textColor is set

See original GitHub issue

Bug report

Summary

If you set the textColor property on the latest iOS 14 beta (18A5342e) the following exception is thrown:

`Exception thrown while executing UI block: -[_UIDatePickerIOSCompactView setHighlightsToday:]: unrecognized selector sent to instance 0x7f7fc7e0ddc0

__44-[RCTUIManager flushUIBlocksWithCompletion:]_block_invoke RCTUIManager.m:1112 __44-[RCTUIManager flushUIBlocksWithCompletion:]_block_invoke.461 __RCTExecuteOnMainQueue_block_invoke _dispatch_call_block_and_release _dispatch_client_callout _dispatch_main_queue_callback_4CF CFRUNLOOP_IS_SERVICING_THE_MAIN_DISPATCH_QUEUE __CFRunLoopRun CFRunLoopRunSpecific GSEventRunModal -[UIApplication _run] UIApplicationMain main start 0x0 `

Environment info

react-native info output:

  React Native Environment Info:
    System:
      OS: macOS 10.15.5
      Memory: 909.69 MB / 32.00 GB
      Shell: 3.0.2 - /usr/local/bin/fish
    Binaries:
      Node: 14.7.0 - /usr/local/bin/node
      Yarn: 1.22.4 - /usr/local/bin/yarn
      npm: 6.14.7 - /usr/local/bin/npm
      Watchman: 4.9.0 - /usr/local/bin/watchman
    SDKs:
      iOS SDK:
        Platforms: iOS 13.6, DriverKit 19.0, macOS 10.15, tvOS 13.4, watchOS 6.2
      Android SDK:
        API Levels: 16, 23, 24, 25, 26, 27, 28, 29
        Build Tools: 26.0.2, 27.0.3, 28.0.2, 28.0.3, 29.0.0, 29.0.2
        System Images: android-24 | Google Play Intel x86 Atom, android-25 | Google APIs ARM 64 v8a, android-25 | Google APIs ARM EABI v7a, android-27 | Google Play Intel x86 Atom, android-28 | Google APIs Intel x86 Atom, android-28 | Google Play Intel x86 Atom, android-28 | Google Play Intel x86 Atom_64, android-29 | Google Play Intel x86 Atom
    IDEs:
      Android Studio: 4.0 AI-193.6911.18.40.6514223
      Xcode: 11.6/11E708 - /usr/bin/xcodebuild
    npmPackages:
      react: 16.8.3 => 16.8.3 
      react-native: 0.59.10 => 0.59.10 

Library version: 2.6.1

Reproducible sample code

<DateTimePicker
   value={new Date()}
   mode={'time'}
   textColor="#000000"  
   display="default"
   onChange={(event, date) => {
     console.log(date);
 }}
/>

Issue Analytics

  • State:closed
  • Created 3 years ago
  • Comments:11 (2 by maintainers)

github_iconTop GitHub Comments

2reactions
nimabrownleecommented, Dec 10, 2020

@vonovak This is unfortunately not fixed in 3.0.8.

2reactions
vonovakcommented, Aug 18, 2020

🎉 This issue has been resolved in version 3.0.1 🎉

The release is available on:

Your semantic-release bot 📦🚀

Read more comments on GitHub >

github_iconTop Results From Across the Web

Xcode 14 Beta - Unable to change s… - Apple Developer
Hi Team, In my application I have customised a UIDatePicker (set custom color for selected date) that was working correctly in iOS 15.5...
Read more >
iPhone UITextField - Change placeholder text color
This answer is not correct – according to the docs, the text color information of attributedPlaceholder is ignored developer.apple.com/library/ios/documentation ...
Read more >
Issue with Xcode 14 beta 4 and iOS 16 Simulator
It seems to only be an issue while using the simulator with iOS 16. Here is what I get when I print out...
Read more >
Changelog | Docs - TinyMCE
Pasting images would throw an exception if the clipboard items were not files (for example, screenshots taken from gnome-software).
Read more >
Unity 2021.2.0b15
Unity 2021.2.0 Beta 15 ... Profiling: GUIStyle errors are thrown when entering Play mode with ... New 2021.2.0b15 Entries since 2021.2.0b14.
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found