gpt4 book ai didi

ios - 长时间振动?

转载 作者:塔克拉玛干 更新时间:2023-11-02 08:01:11 24 4
gpt4 key购买 nike

我想制作一个应用,当用户按下按钮时,手机会振动,直到用户松开按钮。

我四处搜索,但没有找到使它成为长时间振动的方法,除了 2009 年的一个非常古老的教程,它似乎已经过时了。

最佳答案

Apple不允许您随意使用振动:

Vibration. It is not permitted to use continuous vibration in your apps – short bursts as warnings is all that is allowed. Don’t bother trying to set up a timer to keep the vibration going, it will cause your app to be rejected.

不是方法,是结果,那是不允许的。

来源:http://10base-t.com/unofficial-appstore-rejection-criteria/

关于ios - 长时间振动?,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/22836211/

24 4 0
Copyright 2021 - 2024 cfsdn All Rights Reserved 蜀ICP备2022000587号
广告合作:1813099741@qq.com 6ren.com