I want notification at 2:00 pm and 6:00 pm even if app is closed.

How to check for particular time at which I want to fire local notification and where should I write that code in my code in iOS?

please suggest me a code in `Objective-C`.

Should I use this method?

```
- (void)application:(UIApplication *)application 
didReceiveRemoteNotification:(NSDictionary *)userInfo fetchCompletionHandler:(void (^)(UIBackgroundFetchResult result))handler

```

If yes then what should I write in this method for getting notification at particular time.