I am building an iOS App ( Using Swift) where I want like to process Notification even though my app has been closed (force closed).
- I am receiving a Notification alert, however it is not processed till user click on notification badge. 
- However, when I check notification behavior or WhatsApp is seema notification get process even though Whatsapp is closed before use tap on notification badge. 
- I have search across forums and all most ever where it has been mention that your notification can not process if App is not running. ( It can process if App is in Background or Foreground ) 
My Question : If as per Apple documentation if App can not process the notification if it is not running then how Whatsapp has managed to do so.
How can I achieve same behavior at my app ?? I will highly appreciate for right technical solution and I believe there are hundreds of developers might have same query.
 
     
    