I tried it
I tried but i am not getting the solution,
-(void)pickerView

UIPickerView *)thePickerView didSelectRow

NSInteger)row inComponent

NSInteger)component{
NSString *string = [NSString stringWithFormat

"%@",[list objectAtIndex:row]];
labelField.text=string;
pickerView.hidden = NO;
}
The above delegate method receives the control when we select any values in the pickerview by touch, but i didn't know how to write above mentioned delegate method functionalities into the below method,
- (void)motionBegan

UIEventSubtype)motion withEvent

UIEvent *)event
{
if (event.subtype == UIEventSubtypeMotionShake)
{
//self.view.backgroundColor = [UIColor redColor];
//self.view.frame
self.view.backgroundColor = [UIColor redColor];
//pickerView.hidden = TRUE;
//[self.view removeFromSuperview

ickerView];
/*if (! isSpinning)
{
[pickerView selectRow

kRowMultiplier - 1) * [list count] -12 inComponent:0 animated:YES];
}*/
}
}
anyway i will try and get back with a solution soon.
Thanks