Reorderable intent configuration widget iOS

Viewed 543

I'm trying to learn the different possibilities of iOS widgets. So far I have successfully learned Static, Intent configuration widget.

I saw the iOS Clock widget where I can able to reorder the cities. I wonder how to do this. Any help would be very much appreciated.

I've added the Clock widget below for reference.

Clock widget

1 Answers

After doing all possible works in the .intentdefinition file, I got the answer.

We just need to enable two Checkboxes in the .intentdefinition file.

  1. Enable "Supports multiple values" just below the type dropdown
  2. Enable the "Fixed Size" checkbox and define how many entries you want to be based on the widget size

enter image description here

Related