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