APLConfigurationUpdated
Objective-C
@protocol APLConfigurationUpdated
Swift
protocol APLConfigurationUpdated
Target availability: iOS apps, iOS app extensions, watchOS apps, watchOS app extensions.
The protocol used by the APLAddConfigurationUpdatedListener
function.
-
Target availability: iOS apps, iOS app extensions, watchOS apps, watchOS app extensions.
Called when the configuration has been updated or reset by Appfigurate. If the notification was generated by an action being executed then
notification.userInfo[APLConfigurationUpdatedAction]
will be aNSString*
of the action name. If the notification was generated by configuration being updated or reset, thennotification.userInfo
will benil
.Objective-C example
- (void) configurationUpdated: (NSNotification*) notification { [self.tableView reloadData]; }
Swift example
func configurationUpdated(_ notification: Notification?) { self.tableView.reloadData() }
Declaration
Objective-C
- (void)configurationUpdated:(NSNotification *_Nullable)notification;
Swift
func configurationUpdated(_ notification: Notification?)