0

does anyone have a solution for this? after following the tutorial on parse for notifications on iOS the app does not launch if there is no internet connection both on simulator and actual device.. please advise for any solution. the source for this is on https://www.parse.com/tutorials/ios-push-notifications . the debugger outcome:

2012-08-21 19:20:22.415 app[555:c07] Error: Error Domain=NSURLErrorDomain Code=-1009 
"The Internet connection appears to be offline." UserInfo=0xc50d470 
{NSErrorFailingURLStringKey=https://api.parse.com/2/create, 
NSErrorFailingURLKey=https://api.parse.com/2/create, NSLocalizedDescription=The Internet 
connection appears to be offline., NSUnderlyingError=0xc509070 "The Internet connection 
appears to be offline."} (Code: 100, Version: 1.0.64)

2012-08-21 19:20:22.415 pyxida3[555:c07] Network connection failed. Making attempt 2 after sleeping for 1.517845 seconds.
4

1 回答 1

1

for anyone having the same problem just save your objects in background. in the appDelegate:

[testObject saveInBackground];
于 2012-08-25T07:31:17.247 回答