Wrap the Apple Push Notification Service Code Difference of iOS7 and iOS8.