I am using URL Scheme
in my application and for this i am using:
func application(application: UIApplication, openURL url: NSURL, sourceApplication: String?, annotation: AnyObject) -> Bool {
print("function called")
return true
}
it working fine when application is in Background
But when i hit a URL and application is Inactive
state or application is not running thn this function is not called
Need help to hit this function when application is Terminated
.
If Can't Then can we have any alternative ?