如何开发 iPhone Widget,以便即使应用程序处于后台状态也可以运行它们

发布于 2024-10-06 12:25:44 字数 240 浏览 0 评论 0原文

我需要为 iPhone 设备开发小部件。但不知道该怎么做。他们是否有可能发展和发展?按照苹果规范可以接受吗?

基本上我需要开发一个应用程序,当手机锁定或应用程序处于后台模式时也可以显示其视图。

我的意思是应用程序视图将始终位于屏幕顶部,与应用程序处于活动状态或后台模式无关

这可能吗?

我对此不确定,所以请指导我更好的选择来实现相同的效果,

谢谢&问候,

扎胡尔

I need to develop widgets for the iphone device. But don't know how to do it. Are they possible to develop & acceptable as per the apple norms?

Basically I need develop an app which can display its view also when the phone is locked or app is in Background mode.

I mean the app view will always on the top of the screen immaterial that the app is in active state or in background mode

Is this possible?

I am not sure about it so please guide me with the better option to achieve the same

Thanks & Regards,

Zahur

如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

扫码二维码加入Web技术交流群

发布评论

需要 登录 才能够评论, 你可以免费 注册 一个本站的账号。

评论(3

夏末 2024-10-13 12:25:44

仅适用于越狱设备。 Apple 没有公共 API 允许您在锁定屏幕或主屏幕上显示推送/本地警报以外的内容。

It's only possible for jailbroken devices. Apple has no public APIs that allow you to display things other than push/local alerts on the lock screen or home screen.

心的位置 2024-10-13 12:25:44

使用 iOS SDK 无法做到这一点。在越狱设备上可能是可能的,但它进入 App Store 的可能性为 0%。

This is not possible using the iOS SDK. It may be possible on a jailbroken device, but there is a 0% chance that it would make it into the App Store.

笛声青案梦长安 2024-10-13 12:25:44

这可能吗?

没有

Is this possible?

Nope

~没有更多了~
我们使用 Cookies 和其他技术来定制您的体验包括您的登录状态等。通过阅读我们的 隐私政策 了解更多相关信息。 单击 接受 或继续使用网站,即表示您同意使用 Cookies 和您的相关数据。
原文