I need to call a webservice when user clicks on “close” or “view” button of APN popup.
when user clicks “view” button, control goes to program through didFinishLaunchingWithOptions and didReceiveRemoteNotification methods and i can call webservice from there. but when user clicks “close” button, nothing happens.So, where should I write code for webservice on click of “close” button?
thanx in advance.
The Close button is only to discard/cancel the notification which is handled by the OS.