如何打开“添加小部件"从应用程序查看 [英] How to open "Add Widgets" View From App

查看:145
本文介绍了如何打开“添加小部件"从应用程序查看的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我的应用"支持今日扩展",

My App is supported Today Extension,

我想在应用程序的设置视图中添加一个按钮,因此当用户单击它时,我将用户切换到添加小部件" 视图,即该视图:

I want to add a button to my app's settings view, so when the user clicks on it I switch the user to "Add Widget" view, i.e this view:

因此用户可以添加所需的小部件.

so the user can add the desired widget.

有没有办法做到这一点?还是不可能?

Is there a way to do that? or it's not possible?

谢谢.

推荐答案

这是不可能的.您唯一可以做的就是告诉您的用户有关小部件的信息,以及可能如何将其添加到今日视图的用户信息:

This is not possible. The only thing you can do is to tell your users about the widget and possibly how they can add a widget to the today view:

  • 转到主屏幕
  • 向左滑动所有
  • 滚动到底部
  • 点击编辑"
  • 在我的超级有用的小部件旁边点击"+".

这篇关于如何打开“添加小部件"从应用程序查看的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆