In my app, I have a standard widget that comes with it. When I build with iOS 10, the widget is automatically included in the 3D Touch Quick Actions menu. This widget kind of duplicates the features of the Quick Actions that are already there. I would like to be able to hide this widget and only have the quick actions, but I cannot seem to be able to do that.
I tried using the plist value for the UIApplicationShortcutWidget
and setting it to empty, but that doesn't work as the default widget then appears. I also tried setting it to an invalid value such as 'null' which then prevents a widget from appearing, but then the App Store rejects my app bundle with the following error.
Error 1: ITMS-90640 - Invalid Info.plist value
Invalid Info.plist value. The value for key UIApplicationShortcutWidget must be the bundle identifier of a Today extension in the app.
Does anyone know of a workaround for this?
In my case adding the Key Home Screen Widget
of type String
with the value nil
to the plist removed the automatically loaded widget. As XML it looks like:
<key>UIApplicationShortcutWidget</key>
<string>nil</string>
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With