how to find out what is the notification payload ios code example
Example: ios get notification payload
let userInfo = notification.request.content.userInfo
print userInfo["userId"]
let userInfo = notification.request.content.userInfo
print userInfo["userId"]