快速在应用程序中添加自定义键盘或数字键盘 [英] Swift adding custom keyboard or numpad in app

查看:112
本文介绍了快速在应用程序中添加自定义键盘或数字键盘的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

在应用中添加自定义键盘或数字键盘时有哪些类型的限制?

What types of restrictions is there when adding a custom keyboard or numpad in an app?

我知道有些应用程序要求您在系统设置中启用键盘.

I know that some apps requires you to enable keyboards in your system settings.

我最近看到了一个使用此键盘的应用程序:

I recently saw an app using this keyboard:

该应用程序不需要您激活键盘.那么,如何才能像这样制作自己的自定义数字键盘?

The app does not require you to activate the keyboard. So how can I make my own custom numpad like this one?

随时分享任何教程/库

谢谢

推荐答案

那里有一个很棒的快捷键盘/计算器教程,可以作为您所做工作的起点: http://code. tutsplus.com/tutorials/ios-8-create-a-custom-keyboard-in-swift--cms-22344

There's a great swift keyboard/calculator tutorial out there that will serve as a starting point for what you're doing: http://code.tutsplus.com/tutorials/ios-8-creating-a-custom-keyboard-in-swift--cms-22344

在限制"方面,您可以将键盘添加到父应用程序而没有任何问题.如果要在其他应用程序中使用键盘,则需要遵守Apple在此页面上规定的限制:

In terms of "restrictions", you can add the keyboard to the parent app without any problems. If you want to make your keyboard available in OTHER apps, then you will need to adhere to the restrictions that Apple lays out on this page: https://developer.apple.com/library/ios/documentation/General/Conceptual/ExtensibilityPG/Keyboard.html - search for "trust"

Swift和Xcode都是移动目标,它们的更新频率远远超过了项目可以完成的速度!因此,在学习过程中,随时准备应对不断的更新.有时,客户端批准某项内容所花费的时间足以使Swift/xCode/iOS范例进行足够的更改,以至于您需要在提交批准之前修复"已经起作用的内容.顺着河水轻轻一排排.

Swift and Xcode are both moving targets that are updated more often than a project can be completed! So be ready to deal with constant updates as you go through the learning curve. Sometimes the time it takes for a client to approve something is enough time for the Swift/xCode/iOS paradigm to change enough to require you to "fix" things that already worked before submitting for approval. Just row row gently down the stream.

这篇关于快速在应用程序中添加自定义键盘或数字键盘的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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