How to convert NSString to ASCII value from String Value

Solutions Collect From Internet About “How to convert NSString to ASCII value from String Value”

NSString *string = @"A";
int asc = [string characterAtIndex:0];