Swift-仅在我的应用程序中使用自定义系统键盘 [英] Swift - Custom System Keyboard Within my app only

查看:84
本文介绍了Swift-仅在我的应用程序中使用自定义系统键盘的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我已经创建了自定义键盘和自定义系统键盘.两者都可以工作,但是我需要在我的自定义键盘部分中实现UIPageControl.如果我选择自定义键盘.(使用UIView)很难实现.

I have created custom keyboard and custom system keyboard.Both are working But I need to implement UIPageControl in my custom keyboard part. If I choose the custom keyboard.(Using UIView) it is very hard to implement.

我需要针对以下领域的解决方案.

I need a solution for following areas.

我的第一个问题是:

自定义键盘仅适用于该应用程序.安装完成后,如果退出我的应用程序,请转到开发自定义系统键盘的其他应用程序.只能在我的应用程序中进行任何配置.

Custom keyboard is working with the app only. Once I install, if I exit my app , go other app developed my Custom system keyboard will show. Is there any way to configure within my app only.

我从

I found some ideas from this link. Please suggest any idea.

第二个问题是:

我必须实现分页 没有分页,它正在工作.

I have to implement the pagination Without pagination, it is working.

如果您提供任何帮助,将会很有帮助.

It would be helpful if you provide any help.

推荐答案

如果只希望将键盘用作应用程序,则应该仅通过UIView创建自定义键盘.

If you want the keyboard to be app only you should be creating a custom keyboard via UIView only.

关于UIView中的分页,难道不能简单地将UIScrollView放入UIView中并重新创建水平分页吗?

With regards to pagination in a UIView, couldn't you simply put a UIScrollView into the UIView and recreate horizontal pagination?

这篇关于Swift-仅在我的应用程序中使用自定义系统键盘的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆