MOLH icon indicating copy to clipboard operation
MOLH copied to clipboard

UIDatePicker & UISearchBar not changing language after reset

Open iqra-padela opened this issue 4 years ago • 3 comments

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.

iqra-padela avatar Jan 05 '21 14:01 iqra-padela

@aledap

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

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

MoathOthman avatar Jan 06 '21 11:01 MoathOthman

This not work without Restart App

fifisamy avatar Nov 14 '21 12:11 fifisamy

@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

SyedRafayAbrar avatar Jan 17 '22 16:01 SyedRafayAbrar