Follow

Xamarin.iOS - Barcode.data is null

There is a difference in how Xamarin handles translation from the native string types (NSString on iOS, String on Android) to the C# string type when they contain non-printable characters. This can lead to empty strings being returned. To work around that, we suggest to use RawData instead.

Was this article helpful?
0 out of 0 found this helpful
Have more questions? Submit a request