addUserInfoEntries(from:)
Adds the contents of the specified dictionary to the user info dictionary.
Declaration
func addUserInfoEntries(from otherDictionary: [AnyHashable : Any])Parameters
- otherDictionary:
The dictionary containing entries to be added.
Mentioned in
Discussion
Use this method to add the keys from otherDictionary into the dictionary in the userInfo property. If the same key is in both dictionaries, the value of the key is set to the value in the otherDictionary parameter.
It’s recommended that you keep the userInfo dictionary as small as possible. The larger the dictionary, the longer it takes to deliver that payload and resume the activity.