Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Allow full access to custom keyboard in iOS

I'm writing a custom keyboard for iOS. My keyboard needs to be allowed full access. I put "RequestsOpenAccess" with the value "YES" in info.Plist. But I still can't choose to allow full access in the setting. What should I do?

like image 633
thura oo Avatar asked Oct 21 '15 10:10

thura oo


1 Answers

Put the following text in info.plist of the keyboard extension, under Information Property List:

<key>NSExtensionAttributes</key>
<dict>
    <key>IsASCIICapable</key>
    <false/>
    <key>PrefersRightToLeft</key>
    <false/>
    <key>PrimaryLanguage</key>
    <string>en-US</string>
    <key>RequestsOpenAccess</key>
    <true/>
</dict>
<key>NSExtensionPointIdentifier</key>
<string>com.apple.keyboard-service</string>
<key>NSExtensionPrincipalClass</key>
<string>$(PRODUCT_MODULE_NAME).KeyboardViewController</string>
like image 117
Yizhar Avatar answered Sep 18 '22 22:09

Yizhar