cjwirth / RichEditorView

RichEditorView is a simple, modular, drop-in UIView subclass for Rich Text Editing.
BSD 3-Clause "New" or "Revised" License
1.9k stars 445 forks source link

feat: support iOS 13+ dark mode #208

Open hansemannn opened 5 years ago

hansemannn commented 5 years ago

This pull requests adds support for iOS 13+ dark mode while maintaining full backwards compatibility - by using CSS media queries. Should fix #134.

To build with Xcode 11, I also needed to move the project to Swift 5 which might collide with #203, but I'm free to rebase these changes once the other pull request is merged.

Thanks!

hansemannn commented 4 years ago

@ppamorim This is not the scope of this ticket.

YoomamaFTW commented 4 years ago

I think you should migrate to WKWebView

@ppamorim Here is a fork that includes iOS 13+ support including dark mode, solves the upload to App Store issues, as well.

Edit: Shoulda explicitly said "Includes WKWebView" to avoid confusion. App Store issues arose since WKWebView is necessary to be approved for App Store.