Silent notification behaves differently

IOS 10 : In ios 10, silent notification received and invokes local notification when app is in background.

But when app is terminated or forcefully closed, the silent notification does not invoke the local notifications.

IOS 11: In ios 11, silent notification received and invokes local notification when app is running from xcode.

But when stop running from xcode, it does not inovkes local notification either in backgroud or terminated mode.


The silent notifications are very important for us to process some data and show them as local notifications. Please tells how it works and how much we can rely on silent push notifications.


I am using xcode 7.3.1 and swift version 2.2


Thanks in advance.