button haptic feedback in app

Hey everyone, I am a naive in developing of apps but recently created a basic app which asks about coding questions by a quiz taking 4 MCQ as options. So the problem encountered is that whenever a person selects a wrong answer from those MCQ choices, I want the haptic engine on the iPhone to vibrate i.e. to create a feedback so if anyone knows how to do it please give me the guidance and the steps :)