소스 검색

frosted glass view: insert effect view at the correct position in the view hierarchy

Felix Paul Kühne 9 년 전
부모
커밋
c318629f26
1개의 변경된 파일1개의 추가작업 그리고 1개의 파일을 삭제
  1. 1 1
      Sources/VLCFrostedGlasView.m

+ 1 - 1
Sources/VLCFrostedGlasView.m

@@ -59,7 +59,7 @@
     _effectView = [[UIVisualEffectView alloc] initWithEffect:[UIBlurEffect effectWithStyle:UIBlurEffectStyleDark]];
     _effectView.frame = self.bounds;
     _effectView.clipsToBounds = YES;
-    [self addSubview:_effectView];
+    [self insertSubview:_effectView atIndex:0];
 #endif
 }