-
-
Notifications
You must be signed in to change notification settings - Fork 74
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
IOS Dark Mode support #311
Comments
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? |
@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. 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 |
It does not supports dark mode in iOS properly
The text was updated successfully, but these errors were encountered: