ios - How to implement UIVibrancyEffect for table view header? -
ios - How to implement UIVibrancyEffect for table view header? - i table view section headers text rendered in vibrant style, underlying ui shines through text. have tried following, nil appears header if returned nil . override func tableview(tableview: uitableview, viewforheaderinsection section: int) -> uiview? { //add vibrancy text effect allow blureffect = uiblureffect(style: .light) allow vibrancyeffect = uivibrancyeffect(forblureffect: blureffect) allow vibrancyeffectview = uivisualeffectview(effect: vibrancyeffect) //label vibrant text allow vibrantlabel = uilabel() vibrantlabel.text = "testing" vibrantlabel.font = uifont.systemfontofsize(11.0) vibrantlabel.textcolor = uicolor(white: 0.64, alpha: 1) vibrancyeffectview.contentview.addsubview(vibrantlabel) homecoming vibrancyeffectview } solved it. problems code provided in question are: had set frames view , label (duh), , needed specify blur effect...