Color Space and Color Model Mismatch
Running :IOS 8.4 Version
Device Model: iPhone 6, 64GB storage
Xcode base version: 9.2 -> deployment from 7.0
I am using CGColorSpaceCreateWithName(kCGColorSpaceSRGB) for retaining colour space of an image that is edit on my app. But i see that using this API my app crashes on devices running iOS version lesser than 9.0.
As a fix, i even used alternative CGColorSpaceCreateDeviceRGB() but this API doesnt retain the colour profile like the way API CGColorSpaceCreateWithName does.
I am developing an app that involves users editing the images, which are later sent to print, my objective is to retain colour space and profile of the original source images. Please help me how I can achieve this.