Stop animation of a SEssentialsIndicatorTypeRadialContinuous


#1

Hi,

I’m using a SEssentialsIndicatorTypeRadialContinuous while performing a long task, and I would like it to stop the animation when an error occurs.

I tried to set the cycleTime to zero, but it does not stop the animation of the indicator.

Here’s my code, any idea ?

SEssentialsActivityIndicator *indProgress = [SEssentialsActivityIndicator activityIndicatorOfType:SEssentialsIndicatorTypeRadialContinuous
                                                                                          withFrame:CGRectMake(0,0,100,100)];
    

dispatch_async(dispatch_get_main_queue(), ^{
        //try to stop the animation of the indicator
        if(status == IPCWaitFlipStatusError) {
            [indProgress setCycleTime:0.0];
        }
});

#2

Hi,

Unfortunately this isn’t possible yet. We’re planning to implement this feature in future, but until then there’s no official way to do this I’m afraid.

Regards,
Chris


#3

that’s too bad…  :cry: