hi all,
i m using a function in my project as written below to make shadow effect on the text drawn:
CGContextSetShadowWithColor(context, CGSizeMake(2, -2), 1, CGColorGetConstantColor(kCGColorBlack));
but it gives warning in 2.2.1 sdk that "kCGColorBlack" is unavailable and if i compile my project in 3.0 it gives error showing same thing.
if there is anybody to tell me the alternate of kCGColorBlack then i'll be very thankfull to him.
i m using a function in my project as written below to make shadow effect on the text drawn:
CGContextSetShadowWithColor(context, CGSizeMake(2, -2), 1, CGColorGetConstantColor(kCGColorBlack));
but it gives warning in 2.2.1 sdk that "kCGColorBlack" is unavailable and if i compile my project in 3.0 it gives error showing same thing.
if there is anybody to tell me the alternate of kCGColorBlack then i'll be very thankfull to him.