是否可以通过通知中的快速操作在iOS 12中播放触觉反馈?

时间:2018-09-29 16:39:04

标签: ios

我一直在尝试在用户响应通知快速操作时添加触觉反馈。

但是我无法使其正常运行。我可以使用下面的相同代码在我的应用程序的其他区域上使用它。

while (caseSwitch != 1 || caseSwitch != 2)
{
    Console.Write("Please write a number: ");
    Int32.TryParse(userInput = Console.ReadLine(), out caseSwitch);
}

有人知道这是否可行/已经实现了吗?文档中没有提到您不能这样做。

我需要在Notification Content Extension中播放它吗?

0 个答案:

没有答案