Global Variable

NSStringEncodingDetectionAllowLossyKey

Declaration

const NSStringEncodingDetectionOptionsKey NSStringEncodingDetectionAllowLossyKey;

Discussion

Option specifying whether to allow lossy string conversion. The corresponding value for this key is an NSNumber object containing a Boolean value. If @(NO), the a lossy string encoding may not be chosen. By default, this value is @(YES).

Beta Software

This documentation contains preliminary information about an API or technology in development. This information is subject to change, and software implemented according to this documentation should be tested with final operating system software.

Learn more about using Apple's beta software