Skip to content
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

Open
serhiynovos opened this issue Oct 24, 2019 · 5 comments
Open

IOS Dark Mode support #311

serhiynovos opened this issue Oct 24, 2019 · 5 comments
Labels

Comments

@serhiynovos
Copy link

It does not supports dark mode in iOS properly

@wschroers
Copy link

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
Copy link

Tobi2207 commented Apr 7, 2020

@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 ?

@serhiynovos
Copy link
Author

@Tobi2207 I wrote my custom solution for it

@Tobi2207
Copy link

Tobi2207 commented Apr 7, 2020

@serrg1994 I‘m relativ new on native Script ... could you please show me how you‘ve done this ?

@robario
Copy link

robario commented Dec 9, 2020

Rewriting the Storyboard as in this PullRequest works for me.
nek023/QBImagePicker#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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

5 participants