How to prevent iOS VoiceOver from speaking accessibility-labels and traits?

I have a button with the following properties:

accessibilityLabel: "Action Button", 
traits: "Button", 
accessibilityHint: "Performs the main action".

The voiceover reads the button as follows:

Action Button, Button, Performs the main action.

I want to understand how to configure it to only speak the accessibilityHint or only the accessibilityLabel and never speak the traits.

In another example, a switch has the traits: Button, and Toggle. So these traits are a part of what the voiceover speaks. I want only the accessibilityLabel or accessibilityHint to be spoken in this case.

Please let me know how.

Thanks

I would suggest you take a look at the following resources, the sample code contains various examples of how to enable and customize accessibility features.

How to prevent iOS VoiceOver from speaking accessibility-labels and traits?
 
 
Q