How to get rid of black lines around text rendered as image in Swift – Ios swift
Using CoreGraphics to render text with attributes as as an image and return that image - the code that returns the image is: func textualImage(text: String, textSize: CGFloat, textColor: UIColor, backgroundColor: UIColor = .white) -> UIImage? { let paragraphStyle =…