Jagveer Singh
Jagveer Singh

Reputation: 2328

Unable to set primary language in custom keyboard extension

Why primary language returns null in custom keyboard and how can i change it for support multiple languages.

<key>NSExtension</key>
    <dict>
        <key>NSExtensionAttributes</key>
        <dict>
            <key>IsASCIICapable</key>
            <false/>
            <key>PrefersRightToLeft</key>
            <false/>
            <key>PrimaryLanguage</key>
            <string>mul</string>
            <key>RequestsOpenAccess</key>
            <false/>
        </dict>

I want to set primary language programmatically acc to user selection from container app. Any Suggestion for this. Thanks

Upvotes: 0

Views: 585

Answers (1)

Prashant Sharma
Prashant Sharma

Reputation: 1407

It's iOS 8.1 Simulator's bugs.

I could tested language by setting the "Application Language" in the used scheme.

Go to Product > Scheme > Edit Scheme... or press cmd + Y.

enter image description here

Upvotes: 1

Related Questions