i have a problem in converting uicolor to hex color, here what i found
CGColorRef colorref = [[Colorview_ backgroundColor] CGColor];
int numComponents = CG
NSString *hexString = [NSString stringWithFormat:@"#%d", hexValue];
You are formatting it as a digit with %d
You want to format it as hex with %x or %X -- maybe as string %s I didnt check what the function is doing and what int hexValue
is holding
d or i Signed decimal integer 392
x Unsigned hexadecimal integer 7fa
X Unsigned hexadecimal integer (capital letters) 7FA