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

UIDatePicker & UISearchBar not changing language after reset #65

Open
iqra-padela opened this issue Jan 5, 2021 · 3 comments
Open

UIDatePicker & UISearchBar not changing language after reset #65

iqra-padela opened this issue Jan 5, 2021 · 3 comments

Comments

@iqra-padela
Copy link

I am changing the root in the reset method on language change. But the date picker and UISearchBar is not showing the correct language. Only after the app has restarted is the view being correctly updated.

@MoathOthman
Copy link
Owner

@aledap

Some controls such as ActionSheetDatePicker have locale property so you can set them appropriately e.g.

actionSheetDatePicker?.locale = Locale(identifier: MOLHLanguage.currentLocaleIdentifier())

@fifisamy
Copy link

This not work without Restart App

@SyedRafayAbrar
Copy link

@aledap

Some controls such as ActionSheetDatePicker have locale property so you can set them appropriately e.g.

actionSheetDatePicker?.locale = Locale(identifier: MOLHLanguage.currentLocaleIdentifier())

can you tell me how can we change UIActivityController

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

No branches or pull requests

4 participants