Skip to main content
added 105 characters in body
Source Link
Andreas
  • 2.4k
  • 6
  • 35
  • 61

In an iOS shortcut I can ask the user to select an item from a list, but how do I access the selected index?

I need that in order to get at the selected object in the case where I’ve already converted the objects into more presentable text for the action sheet.

Update:

What I really wanted was to customise the user-facing string representation of an item.

In an iOS shortcut I can ask the user to select an item from a list, but how do I access the selected index?

I need that in order to get at the selected object in the case where I’ve already converted the objects into more presentable text for the action sheet.

In an iOS shortcut I can ask the user to select an item from a list, but how do I access the selected index?

I need that in order to get at the selected object in the case where I’ve already converted the objects into more presentable text for the action sheet.

Update:

What I really wanted was to customise the user-facing string representation of an item.

Source Link
Andreas
  • 2.4k
  • 6
  • 35
  • 61

ios Shortcuts: get index of selected list item

In an iOS shortcut I can ask the user to select an item from a list, but how do I access the selected index?

I need that in order to get at the selected object in the case where I’ve already converted the objects into more presentable text for the action sheet.