playhaven/sdk-ios — comment on commit 0839d81328e02ec201d3bf7eacd716170c9f68f4
File: src/PHPublisherContentRequest.m line 54
By jfrndz:

1) This should probably be in -(void)send, instead of here. If the user backgrounds the app before the request is sent, we shouldn't cancel the request.
2) This code won't work in iOS 3.x since UIApplicationDidEnterBackgroundNotification isn't defined before iOS 4.0. You'll need to test to make sure this value is available: http://stackoverflow.com/questions/5410667/nsnotificationcenter-code-works-in-iphone-but-not-on-ipad