First, change
Four. Notification (notice)
Since Notification being introduced, Apple has been updating and optimizing, but these update optimizations are just a scratch, and until now iOS 10 is starting to really make big changes, which gives developers UserNotifications the ease of use and the ability to become very powerful.
Previous notifications for IOS 9
1. When calling a method, some methods make it difficult to distinguish and write wrong methods, which makes the developer sometimes very distressed.
2. The path that the app captures notifications at run time and non-runtime is not consistent.
3. When applied to the foreground, remote notifications cannot be displayed directly, and further processing is required.
4. Notifications that have been issued cannot be updated, the content is not changed when it is issued, and only simple text presentation, extensibility is not very good at all.
Notifications starting with IOS 10
1. All relevant notifications have been consolidated into the UserNotifications.framework framework.
2. Added cancellation, update, mid-way can also modify the content of the notice.
3. The notification is not a simple text, you can add videos, pictures, custom notification display and so on.
4.iOS 10 is easier to manage than previous notifications and has been optimized for large scale, which is a good thing for developers.
5.iOS 10 starting with the optimization of permissions issues, it is easier to request permissions (local and remote notifications are integrated in one method).
IOS 10 Notification Learning Related Materials:
Usernotifications: Apple Official document-Apple official Video 1-Apple official video 2-Apple official video 3
Long-lived refactoring-IOS ten usernotifications Framework parsing
WWDC2016 Session Notes-new features for IOS 10 push notification
Second, the new function show
1/ios Notice new Feature Play
2. notification and push details in iOS10
IOS Notifications Change ios9-10, new features show