ios - how to get notification when I changed the Region Format in Settings -


what want change time format when changed region format english china in ipad settings->gerneral->international->region format.

i have tried :

[[nsnotificationcenter defaultcenter] addobserver:self selector:@selector(updatecalendar) name: uiapplicationsignificanttimechangenotification object:nil];  -(void)updatecalendar{ self.text=[toolbox formatdate:dateformatter withformatestring:@"eeee mmmm dd"]; } 

but didn't work. cann't notification.perhaps uiapplicationsignificanttimechangenotification doesn't work notification of region format changing. there notification type can this?

any appreciated.thanks in advance!

register nscurrentlocaledidchangenotification notification. called when user returns app after region format has changed.

the uiapplicationsignificanttimechangenotification notification time changes, not locale changes.


Comments

Popular posts from this blog

html - How to style widget with post count different than without post count -

How to remove text and logo OR add Overflow on Android ActionBar using AppCompat on API 8? -

javascript - storing input from prompt in array and displaying the array -