I'm using CPListItem like this:
CPListItem( text: "test", detailText: "test", image: nil, accessoryImage: nil, accessoryType: .none )
However, when I tap the item in the list, a loading indicator appears on the right side, as shown in the image I attached. I didn’t configure anything that should cause this behavior.
Why is the loading indicator shown by default when tapping a list item? Is there a way to prevent it from appearing?
In many CarPlay apps, tapping on a list item will start playing a song or podcast, search for points of interest on a map, or start navigation guidance. All of these are operations that can take a long time, so the system displays a spinner on the list item after 500ms to show the user that your app is processing their selection.
If your app calls the completion handler on the list item before 500ms, then no spinner will be displayed.