Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
这是一个非常新的问题......
??? hexvalue = 0xFFFFFF;
我用什么代替????
???
0xFFFFFF相当于说16777215,你会放什么类型的16777215?
0xFFFFFF
16777215
它们只是数字,所以 int32_t、NSInteger、NSUInteger、long 等都是有效的。