问题
When I was using only one today widget it was very simple and was like this:
Now I added a second today widget to my app, and it is like this:
Why it disappeared? What is wrong? Shouldnt be there two today widgets? Can I decide what widget should be preferred here?
Apple says:
Choose a widget for the quick action list. If your app has multiple widgets, pick one to appear in the quick action menu that appears when someone applies pressure to your app icon on the Home screen using 3D Touch.
But where to do this? Is it user or developer site?
回答1:
Set bundle identifier of preferred widget to UIApplicationShortcutWidget
key in info.plist of your app target.
来源:https://stackoverflow.com/questions/40693701/how-to-pick-one-from-multiply-widgets-for-home-screen-using-3d-touch