Type Method

localizedStringForLabel:

Returns a localized string for the specified label.

Declaration

+ (NSString *)localizedStringForLabel:(NSString *)label;

Parameters

label

The label to be localized.

Return Value

Returns a localized string for the label.

Discussion

All predefined label constants are localized and this method returns their localized strings. A custom label will be returned as is, so this method can be used to convert all labels for display.