MOLH
MOLH copied to clipboard
UIDatePicker & UISearchBar not changing language after reset
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.
@aledap
Some controls such as ActionSheetDatePicker have locale property so you can set them appropriately e.g.
actionSheetDatePicker?.locale = Locale(identifier: MOLHLanguage.currentLocaleIdentifier())
This not work without Restart App
@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