nicklockwood / FXBlurView

[DEPRECATED]
Other
4.94k stars 713 forks source link

FXBlurView crash when close the photo's authorization of the project while app running #55

Closed peiyun007 closed 6 years ago

peiyun007 commented 10 years ago

When Using FXBlurView in my project,

    FXBlurView *blurView = [[FXBlurView alloc] initWithFrame:self.view.bounds];
    blurView.tintColor = [UIColor clearColor];
    blurView.blurRadius = 1;
    blurView.iterations = 20;
    blurView.tintColor = [UIColor colorWithWhite:0 alpha:0.5f];
    blurView.updateInterval = 0.1f;
    [self.view addSubview:blurView];

When the app is running, I switch to the background and turn off the photo's authorization of the app,then FXBlurView crash.Below is the crash stack. b84ad01c-39af-4bf0-9372-c664e9cfe845