I am getting an error after adding this code from parse.com:
- (void)application:(UIApplication *)application
didReceiveRemoteNotification:(NSDictionary *)us
I think @djshiow is not solving your problem.
You need to add the following in your info.plist file:
1) Add a new row and, on the left column, select Required background modes.
2) On Item 0 row, click on the right column and type: remote-notification. Press Enter.
Source: http://hayageek.com/ios-silent-push-notifications/