Skip to content

NSPersonNameComponentsFormatter.GetLocalizedString(creds.FullName, NSPersonNameComponentsFormatterStyle.Default,NSPersonNameComponentsFormatterOptions.Phonetic) returns blank as string #2

@softsan

Description

@softsan

In my case, i see a value in creds.FullName
{<NSPersonNameComponents: 0x28027f9c0> {givenName = Sudhir, familyName = Thanki, middleName = (null), namePrefix = (null), nameSuffix = (null), nickname = (null) phoneticRepresentation = (null) }}

but after applying
appleAccount.Name = NSPersonNameComponentsFormatter.GetLocalizedString(creds.FullName, NSPersonNameComponentsFormatterStyle.Default,NSPersonNameComponentsFormatterOptions.Phonetic);

it returns "". Please see below screenshots:

Screenshot 2020-04-05 at 1 24 40 AM

Screenshot 2020-04-05 at 1 24 08 AM

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions