UIDatePicker & UISearchBar not changing language after reset
iqra-padela opened this issue · comments
iqra-padela commented
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.
Moath othman commented
@aledap
Some controls such as ActionSheetDatePicker have locale property so you can set them appropriately e.g.
actionSheetDatePicker?.locale = Locale(identifier: MOLHLanguage.currentLocaleIdentifier())
afaf elshafie commented
This not work without Restart App
SyedRafayAbrar commented
@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