I was trying to implement vibration functionality on the click of UIButton with following line of code:
import AudioToolbox
AudioServicesPlayAlertSound(SystemSoundID(kSystemSoundID_Vibrate))
But nothing happens. if someone has an experience regarding this, please check the issue.