I\'m working on an iOS app. It currently only works on iOS 4 since I use the following method on several occasions: \"UIGraphicsBeginImageContextWithOptions\". This method i
I have the same problem. You could try testing the system version. This seems to work for me on the devices I tested.
char majorVersion = [[[UIDevice currentDevice] systemVersion] characterAtIndex: 0];
if (majorVersion == '2' || majorVersion == '3')
UIGraphicsBeginImageContext(...);
else
UIGraphicsBeginImageContextWithOptions(...);