diff --git a/Pod/Classes/TAPromoteeViewController.m b/Pod/Classes/TAPromoteeViewController.m index 1673dca..aa33afa 100644 --- a/Pod/Classes/TAPromoteeViewController.m +++ b/Pod/Classes/TAPromoteeViewController.m @@ -84,14 +84,14 @@ - (void)viewDidLoad self.captionLabel.numberOfLines = 0; self.captionLabel.textAlignment = NSTextAlignmentCenter; -// if ([UIVisualEffectView class]) { -// UIBlurEffect *blur = [UIBlurEffect effectWithStyle:UIBlurEffectStyleExtraLight]; -// self.visualEffectView = [[UIVisualEffectView alloc] initWithEffect:blur]; -// } else { - FXBlurView * visualEffectView = [[FXBlurView alloc] init]; -// visualEffectView.blurRadius = 1.8; - self.visualEffectView = visualEffectView; -// } + if ([UIVisualEffectView class]) { + UIBlurEffect *blur = [UIBlurEffect effectWithStyle:UIBlurEffectStyleExtraLight]; + self.visualEffectView = [[UIVisualEffectView alloc] initWithEffect:blur]; + } else { + FXBlurView *visualEffectView = [[FXBlurView alloc] init]; + + self.visualEffectView = visualEffectView; + }