If you have iOS 18/17 or above, you can simply use two fingers and glide over the contacts you want to erase. Then, tap once to reveal a menu, and tap the Delete button to clear the selected names. This is the only way to delete all contacts, unlike Android, which offers a Select All option.