I would appreciate it if you could tell me how I can convert hexadecimal letters within an NSString, e.g. @"50A6C2", to decimals using Objective-C. Thanks in advance.
来源:https://stackoverflow.com/questions/6002196/how-to-convert-hexadecimal-string-to-decimal