rajnifrommohali

Q: 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. I got nil value in uiinput view controller class but this one is defined in apple doc as you can get or set  the primary language . So Please tell me the solution for get the primary langauge and how to change it?


Any Suggestion for this. Thanks

iPhone 6, iOS 9.3.5

Posted on Sep 20, 2016 3:36 AM