发送意图以在默认应用程序中创建警报
Send intent to create an alarm in default app
在 android 中,我们可以执行 Intent 以将警报添加到设备上安装的默认警报应用 example。
我想知道是否可以在 iOS 上实现类似的东西?
关于闹钟应用,Here you have answer from Apple support and it's related with iOS sandbox。
As far as I know the rationale for this has never been publicly documented. However, the iOS sandbox does not, in general, allow app A to make changes that affect app B or the system as a whole.
在 Apple docs 中,您可以找到有关如何设置日历闹钟的说明。
在 android 中,我们可以执行 Intent 以将警报添加到设备上安装的默认警报应用 example。
我想知道是否可以在 iOS 上实现类似的东西?
关于闹钟应用,Here you have answer from Apple support and it's related with iOS sandbox。
As far as I know the rationale for this has never been publicly documented. However, the iOS sandbox does not, in general, allow app A to make changes that affect app B or the system as a whole.
在 Apple docs 中,您可以找到有关如何设置日历闹钟的说明。