iOS 自定义键盘扩展功能

iOS custom keyboard extensions capabilities

我有几个关于自定义键盘扩展的问题。我可以制作仅包含图像(贴纸或表情符号)的自定义键盘吗? 是否可以在点击贴纸时直接从键盘支付此类贴纸,而无需转换到容器应用程序(即,按下贴纸应该会出现弹出窗口,提示您输入应用内购买的数据)?谢谢!

  • 是你的custom keyboard可能包含图片,但你也需要QWERTY个字符。

  • 无法在自定义键盘扩展中启用支付,原因是 keyboard Target ->Capabilities -> Enabling Inapp 下没有。

只能在您的容器应用程序中进行支付,基于该支付您可以更改您的自定义键盘。

并参考this link一次

好的。我发现了这个:https://developer.apple.com/app-store/review/guidelines/

根据这个规则:

25.3 Apps hosting extensions that include marketing, advertising, or in-app purchases in their extension view will be rejected

25.6 Keyboard extensions must provide Number and Decimal keyboard types as described in the App Extension Programming Guide or they will be rejected

25.7 Apps offering Keyboard extensions must provide keyboard functionality (e.g. typed characters), have a primary category of Utilities and a privacy policy or they will be rejected

所以我无法制作只有图像而没有 'qwerty' 个字符的键盘。而且我无法将 iAP 嵌入到键盘视图中,只能嵌入到键盘的容器应用程序中。