notification when json update in ios code example Example: ios get notification payload let userInfo = notification.request.content.userInfo print userInfo["userId"]