hello,
I would like to use the progress bar indicator to display how long the function crypto() takes.
The progress bar does not really work.
Can you please help me to correct it. Thank you
I would like to use the progress bar indicator to display how long the function crypto() takes.
The progress bar does not really work.
Can you please help me to correct it. Thank you
PHP:
- (IBAction)crypto:(id)sender1 {
[progress setMinValue:0];
[progress setMaxValue:100];
[progress incrementBy:10];
crypto();
for (int i = 0; i <= 100; i = i + 10) {
[progress setDoubleValue:i];
[progress displayIfNeeded];
NSLog(@"%d", i);
}
}