alankarmisra / SwiftSignatureView

A lightweight, fast and customizable option for capturing fluid, variable-stroke-width signatures within your app.
MIT License
320 stars 93 forks source link

Stroke color on Dark Mode #56

Open Benj4min opened 3 years ago

Benj4min commented 3 years ago

I'm setting the stroke color to aways be an almost black color and the background to be white. But when the device is in dark mode, the background remains white and the stroke color does not remains the black one, it is set to a light gray or a black with a low opacity value (see screenshot). Is there any way to solve this?

Dark mode: DE468100-46BB-4FEB-80FC-F8C6CECFA0D1_1_201_a

Light mode: 22F0A44E-0F58-4D66-9715-BFC680FB36F1_1_201_a

ouberghouz commented 3 years ago

signatureView..overrideUserInterfaceStyle = .light