是否可以从快捷方式自动创建一个小部件-Swift IOS
进行了一些研究之后,我发现用户可以通过压在主屏幕上,按下左上方按钮,搜索“快捷方式”,然后敲击特定快捷方式来制作捷径。
从此用户(他们不必在您的应用程序捐赠的快捷方式应用程序中添加快捷方式,而只需单击一个按钮)。
因此,我想知道是否也可以为您定义的快捷方式创建一个小部件,用户所要做的就是点击应用程序中的按钮,而不是浏览整个搜索过程。
谢谢
After doing some research I discovered that a user can make a shortcut a widget by holding down on the home-screen, pressing the top left button, searching for "shortcuts", and then tapping on the specific shortcut.
From this article I discovered that it's possible to automatically create a shortcut for the user (they don't have to physically add a shortcut in the shortcuts app that your app donated, instead they can just click a button).
Thus, I was wondering if it's also possible to create a widget for a shortcut you defined, where all the user has to do is tap a button within your app, instead of going through the whole search process.
Thanks
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论