Platforms to show: All Mac Windows Linux Cross-Platform
Back to CKNotificationMBS class.
CKNotificationMBS.alertLocalizationArgs as String()
Type | Topic | Plugin | Version | macOS | Windows | Linux | iOS | Targets |
method | CloudKit | MBS Mac64bit Plugin | 16.5 | ✅ Yes | ❌ No | ❌ No | ✅ Yes | All |
This property contains an array of NSString objects, each of which corresponds to a field of the record that triggered the push notification. Use the field values to replace any substitution variables in the alert strings specified by the notificationFromRemoteNotificationDictionary or Identifying the Notification Object properties. The field values must be string, integer, double, or dates. String values that are greater than 100 characters in length may be truncated when added to the push notification.
If you used %@ for your substitution variables, those variables are replaced by walking the array in order. If you use variables of the form %n$@, where n is an integer, n represents the index (starting at 1) of the item in the array to use. Thus, the first item in the array replaces the variable %1$@, the second item replaces the variable %2$@, and so on. You can use indexed substitution variables to change the order of items in the resulting string, which might be necessary when you localize your app’s messages.
CKNotificationMBS.Constructor Private
Type | Topic | Plugin | Version | macOS | Windows | Linux | iOS | Targets |
method | CloudKit | MBS Mac64bit Plugin | 16.5 | ✅ Yes | ❌ No | ❌ No | ✅ Yes | All |
The items on this page are in the following plugins: MBS Mac64bit Plugin.