UIKeyCommand only for hardware keyboards?

UIMenu documentation uses UIKeyCommand to make a UIMenu. I made one for a UIBarButtonItem.

UIKeyCommand documentation says

Key command sequences are generated only for devices with an attached hardware keyboard.

But it's working fine on my iPhone SE. I don't understand this. Can some explain please?

Thanks.

Accepted Reply

"Key command sequences" refers to being able to trigger a key command via the keyboard, which only works with external keyboards. However a UIKeyCommand is a UICommand and thus works everywhere a UICommand would work.

Replies

"Key command sequences" refers to being able to trigger a key command via the keyboard, which only works with external keyboards. However a UIKeyCommand is a UICommand and thus works everywhere a UICommand would work.