When a user changes NsuserDefaults in the settings on the iPhone and activates my application after pausing it, I want to restart the active view.
How can i do this?
You can implement the applicationDidBecomeActive method : in the application deletion or register a notification UIApplicationDidBecomeActiveNotificationin any other object.
UIApplicationDidBecomeActiveNotification
- (void)applicationWillEnterForeground:(UIApplication*)application for the application delegate, invoked when exiting standby mode.
- (void)applicationWillEnterForeground:(UIApplication*)application
, , , , .
Source: https://habr.com/ru/post/1752865/More articles:Passing std :: string to the library API - c ++NSFetchedResultsControllerDelegate methods are not called if its predicate uses IN? - iphoneKeyValuePair Nothing - .netiOS4 DCIM folder access - xcodeHow to switch cvs user to extracted directory - cvsGet specific XML node position using XPATH? - xmlPassing code to a subfunction - c ++Data Management - Read Data - c #How does Froyo display the dialogue on the main screen? - androidhttps://translate.googleusercontent.com/translate_c?depth=1&pto=aue&rurl=translate.google.com&sl=ru&sp=nmt4&tl=en&u=https://fooobar.com/questions/1752870/alternatives-to-class-level-variables-for-classeval&usg=ALkJrhhYryUo118ij9aGQaiqqWUfUEsaHwAll Articles