ios开发使用通知_如何使用iOS 10的新通知和改进通知
ios开发使用通知
iOS 10 made quite a few changes to notifications, and how you interact with them. Let’s take some time today to introduce and explore these changes.
iOS 10对通知以及与通知的交互方式进行了很多更改 。 今天让我们花一些时间来介绍和探索这些更改。
RELATED: The Best New Features in iOS 10 (and How to Use Them)
相关文章: iOS 10中的最佳新功能(以及如何使用它们)
The most obvious change is the way notifications look. For example, in the notification center, you see that they’re now a pleasing higher contrasting white with black text, and thus easier to read.
最明显的变化是通知的外观。 例如,在通知中心中,您看到它们现在是令人愉悦的白色与黑色文本的高对比度,因此更易于阅读。
For all iOS devices, you can attend to a notification by tapping on it, which will open the associated application. For example, if you have a text notification, it will open Messages, if you have a new email, it will open Mail, and so on.
对于所有iOS设备,您可以通过点击它来关注通知,这将打开关联的应用程序。 例如,如果您有文本通知,它将打开“邮件”,如果有新电子邮件,则将打开“邮件”,依此类推。
Those who have 3D Touch-enabled devices can attend to notifications by hard pressing on them, which more often than not, displays further options.
拥有启用3D Touch的设备的用户可以通过用力按下通知来进行通知,而通知通常会显示更多选项。
On non-3D Touch devices, you can swipe left to reveal further options, though tapping on the notification to view it, or the “X” to delete it, works just as well.
在非3D Touch设备上,您可以向左滑动以显示更多选项,尽管点击通知以查看它,或点击“ X”将其删除也可以。
But 3D Touch is where the real magic happens. It even allows you to clear all your notifications wholesale by hard pressing on the “X” button.
但是3D Touch是真正的魔术发生的地方。 它甚至可以让您通过硬按“ X”按钮来清除所有批发通知 。
These are pretty simple but fundamental changes that give iOS’s notifications some much-needed oomph. But that isn’t all–you can do even more with the ones that appear on the home screen.
这些是非常简单但基本的更改,这些更改使iOS的通知具有一些急需的功能。 但这还不是全部–您可以使用主屏幕上显示的内容做更多的事情。
Here is a pretty standard text notification on the home screen.
这是主屏幕上的标准文本通知。
Again, if you simply tap the message, then Message will open up and you can reply. However, if you hard press the notification, 3D Touch now lets you attend to the message without actually opening the app.
同样,如果您只是点击该消息,则消息将打开,您可以回复。 但是,如果您用力按下通知,则3D Touch现在可以让您收听消息,而无需实际打开应用程序。
It’s much the same with other apps as well. Email lacks the ability to reply or forward, but you can mark things as read or trash them.
其他应用程序也是如此。 电子邮件缺乏回复或转发的功能,但是您可以将事物标记为已读或丢弃。
This works the same way on the lock screen.
这在锁定屏幕上的工作方式相同。
Deep press and you can typically interact without needing to unlock the device or open the app.
只需按一下即可,通常无需解锁设备或打开应用程序即可进行互动。
Keep in mind that lock screen notifications will still behave as they did in iOS 9 for anyone who doesn’t have 3D Touch.
请记住,对于没有3D Touch的用户,锁屏通知仍将像在iOS 9中一样起作用。
Similarly, nothing notable has changed with notification settings.
同样,通知设置没有明显变化。
The real changes with notifications lie solely with their appearance and how you act upon them. Honestly, the changes Apple has instituted to them in iOS 10 add a really compelling reason to get an iPhone or iPad with 3D Touch.
通知的真正变化完全取决于它们的外观以及您如何操作它们。 老实说,苹果公司在iOS 10中对他们进行的更改增加了购买具有3D Touch的iPhone或iPad的令人信服的理由。
RELATED: What is 3D Touch and Why it Will Change How you Use Mobile Devices
相关文章: 什么是3D Touch及其为何会改变您使用移动设备的方式
That said, we do hope that the company eventually brings the ability to interact with notifications in much the same way on non-3D Touch device, such as simply being able to long-press to access further options.
就是说,我们确实希望该公司最终能够以与非3D Touch设备上的通知几乎相同的方式提供与通知进行交互的功能,例如只需长按即可访问其他选项。
In the meantime, if you have a 3D Touch-enabled device, be sure to take full advantage and enjoy the new changes and enhancements to iOS’s notification system.
同时,如果您拥有支持3D Touch的设备,请务必充分利用并享受iOS通知系统的新变化和增强。
-
› How to Quickly Scroll Through Home Screen Pages on iPhone and iPad
-
› How to Move a Window to Another Virtual Desktop on Windows 10
-
› What’s the Deal with Google Home and Nest? Is There a Difference?
翻译自: https://www.howtogeek.com/271763/how-to-use-ios-10s-new-and-improved-notifications/
ios开发使用通知