0

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

Jagveer Singh
  • 2,258
  • 19
  • 34

1 Answers1

1

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

Prashant Sharma
  • 1,357
  • 1
  • 21
  • 31