I use UIPickerView to display random numbers. The user can click a button and thus cause a random number selection inside the UIPickerView .
It doesn't matter how many objects or numbers are displayed inside the UIPickerView when I call the method:
[self.picker selectRow:randomRow inComponent:0 animated:YES]
It is always animated at the same time interval.
Is there any option or way to extend the animation time interval of the above method?
I tried putting it in an animation block:
[UIView beginAnimations:@"identifier" context:nil];
but it seems to be a dead end.
I also tried to execute it in completion blocks:
Any help would be appreciated.
ios animation uipickerview
Raz
source share