I am making image form QR Code by using following code:
QR Code
func createQRFromString(str: String) -> CIImage? { let stringData = str.dat
func convert(image:CIImage) -> UIImage { let image:UIImage = UIImage.init(ciImage: image) return image }
Perhaps, this was unavailable before, but it is now possible to create UIImages directly from CIImage.