简体   繁体   English

Iphone锁屏

[英]Iphone Lock Screen

朋友们,我是Iphone开发的新手,我正在创建一个简单的模拟时钟,事实上我已经创建了一个(我基本上是一个Android开发人员 - 创建与Android的widget一样),Iphone似乎不支持小部件,但我想知道是否有可能创建一个锁屏应用程序或什么(即当屏幕锁定iphone显示时钟)是否有可能我的时钟取代iphone一个,任何想法,提前谢谢

It is impossible to replace the lock screen of iOS devices with a custom one. 使用自定义设备替换iOS设备的锁定屏幕是不可能的。 iOS apps are not allowed to "lock" the system by any means. iOS应用程序不允许以任何方式“锁定”系统。 Can't avoid the user pressing the home button. 无法避免用户按下主页按钮。

No it is not possible. 不,这是不可能的。 There is no public API for the lock screen. 锁定屏幕没有公共API。

It is 100% possible but not approved by Apple. 它是100%可能但未经Apple批准。 You can develop an app but will never be part of the app store... You can however use it for personal use or share it through a Cydia repo (jailbroken devices). 您可以开发应用程序但永远不会成为应用程序商店的一部分......但是您可以将其用于个人用途或通过Cydia repo(越狱设备)共享。 But it is possible. 但这是可能的。

Although you may be able to find a way to accomplish your goal in development, it will almost assuredly be rejected by Apple. 虽然您可能能够找到一种方法来实现您的开发目标,但几乎肯定会被Apple拒绝。 Here is an excerpt from the App Store Review Guidelines 以下是App Store评论指南的摘录

10.4 Apps that create alternate desktop/home screen environments or simulate multi-app widget experiences will be rejected 10.4将拒绝创建备用桌面/主屏幕环境或模拟多应用程序窗口小部件体验的应用程序

虽然我很久以前也不同意你们所有人的确定...我只是浏览应用程序商店并找到了一个应用程序可以改变用户锁定后解锁iphone的方式..这是应用程序“滑动你的手机”

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM