[英]How to use a UICollectionView inside a UIInputViewController for a custom keyboard extension?
A UICollectionView would be ideal for presenting pages of image options to use in a UIInputViewController for a custom iOS keyboard. UICollectionView非常适合呈现图像选项页面,以用于自定义iOS键盘的UIInputViewController中。
Is it possible to use the UICollectionView inside a Keyboard Extension, or does the functionality need to be replicated manually? 是否可以在Keyboard Extension中使用UICollectionView,还是需要手动复制功能?
You can use a UICollectionView inside a UIInput ViewController for a Keyboard Extension. 您可以在UIInput ViewController中使用UICollectionView进行键盘扩展。
The easiset way to do it is programmatically. 最简单的方法是通过编程。 The links I provided in my comment above will get you started.
我在上面的评论中提供的链接将帮助您入门。
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.