How to open “Add Widgets” View From App

▼魔方 西西 提交于 2020-01-03 19:16:54

问题


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?

Thanks.


回答1:


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:

  • Goto home screen
  • swipe all to the left
  • scroll to the bottom
  • tap "Edit"
  • tap "+" next to my super useful widget.



回答2:


Just swipe down to open notification center and add your widget as shown in below sample.



来源:https://stackoverflow.com/questions/46872673/how-to-open-add-widgets-view-from-app

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!