如何读取从iOS中的其他应用程序的推送通知 [英] How to read push notifications from other apps in iOS

查看:163
本文介绍了如何读取从iOS中的其他应用程序的推送通知的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我想知道如何才能够阅读和获取iOS中另一个应用程序的推送通知的内容。如从Facebook Messenger或Twitter的推送通知。

I wanted to know how to be able to read and get the contents of another app's push notification in iOS. Such as a push notification from Facebook Messenger, or Twitter.

我知道这是可能的,因为这正是卵石Smartwatch折价iOS应用做什么。它截取了iPhone的推送通知,并将其发送到智能手表通过蓝牙。

I know this is possible because that is exactly what the Pebble Smartwatch iOS app does. It intercepts the push notifications of the iPhone and sends them to the smartwatch over Bluetooth.

推荐答案

设备,如卵石,使用与蓝牙ANCS服务。一个应用程序不能直接从其他应用访问的通知/。

Devices such as the Pebble, use the ANCS service with Bluetooth. An app cannot directly access the notifications for/from other apps.

这篇关于如何读取从iOS中的其他应用程序的推送通知的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆