Removing AppWidgets programmatically

前端 未结 2 1410
生来不讨喜
生来不讨喜 2020-12-01 11:18

I\'m having the hardest time figuring out how to remove home screen AppWidget\'s programmatically (i.e. without the user actually dragging one into the trash). As an example

2条回答
  •  温柔的废话
    2020-12-01 12:01

    You cannot add or remove app widgets from the home screen. Only the user can do that.

    Any app widgets tied to a deleted account could show a different account, or adopt some "(account deleted)" look that would trigger the user to get rid of the app widget or reconfigure it.

提交回复
热议问题