hisham93
Results
2
comments of
hisham93
Try to use the following: searchTextField.hero.modifiers = [.useLayerRenderSnapshot] It solve the problem for me
Add the following lines under draw() function in SHCircleBar class: override func draw(_ rect: CGRect) { .... let shadowSubLayer = createShadowLayer() shadowSubLayer.accessibilityHint = "shadow" shadowSubLayer.insertSublayer(mask, at: 0) self.layer.sublayers?.filter({$0.accessibilityHint == "shadow"}).forEach({$0.removeFromSuperlayer()})...