IOS Dark Mode support
It does not supports dark mode in iOS properly
I wonder why this issue is labelled as feature. To my opinion, the imagepicker component is not usable if your device is in dark-mode. Is there a quick solution to solve this issue?
@jiswo @serrg1994 I´ve been searching 2 days long for an solution to fix it for dark mode and found nothing ... :( Did you found something ?
@elena-p you know a quick solution maybe ?
@Tobi2207 I wrote my custom solution for it
@serrg1994 I‘m relativ new on native Script ... could you please show me how you‘ve done this ?
Rewriting the Storyboard as in this PullRequest works for me. https://github.com/questbeat/QBImagePicker/pull/224
I implemented it in the Podfile to make the replacement automatic.
# app/App_Resources/iOS/Podfile
post_install do |installer|
path = 'Pods/QBImagePickerController/QBImagePicker/QBImagePicker.storyboard'
buffer = File.open(path, 'r') { |f| f.read() }
buffer.gsub!('<color key="textColor" cocoaTouchSystemColor="darkTextColor"/>', '<nil key="textColor"/>')
File.open(path, 'w') { |f| f.write(buffer) }
end