NSScreencast Episode #146 Vibrancy and Blur
Vibrancy and Blur - NSScreencast
テキスト表示エリアに透けるエフェクト
過去のエピソード Blur - NSScreencast
- UIVisualEffectView
- UIBlurEffect
- [UIBlurEffect effectWithStyle:UIBlurEffectStyleExtraLight]
- UIBlurEffectStyleDark
- UIBlurEffectStyleLight
- [UIBlurEffect effectWithStyle:UIBlurEffectStyleExtraLight]
- UIPanGestureRecognizer
- legibility 読みやすさ
- Today Extensionや音声コントロールと背景色、コントラストなど見比べる
- UIVibrancyEffect
- UIVibrancyEffect *vibrancy = [UIVibrancyEffect effectForBlurEffect:blur];
- blurと共に使われる (meant to be used in conjunction to blur)
- 背景によって変化する (changing by behind content)
- label text color ignored
- color is determined by vibrancy effect
- can also add effect from storyboard
- cumbersome
- nested views [ UIVisualEffectView - View - UIVisualEffectView - View - Label etc.]
- cumbersome