How to open “Add Widgets” View From App

后端 未结 3 909
青春惊慌失措
青春惊慌失措 2021-01-19 03:39

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\"

相关标签:
3条回答
  • 2021-01-19 04:16

    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.
    0 讨论(0)
  • 2021-01-19 04:23

    It seems there is no API to display Widgets Edit Screen, because: Normally there is an "Add Widget" button in app's setting view by default (if widget is not installed yet). So you don't need to open widgets edit screen. Here is screenshot.

    0 讨论(0)
  • 2021-01-19 04:32

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

    0 讨论(0)
提交回复
热议问题