[Interest] [qt-iOS] API for Apps to Forbid Custom Keyboards

Till Oliver Knoll till.oliver.knoll at gmail.com
Thu Dec 4 09:30:20 CET 2014


> Am 04.12.2014 um 08:41 schrieb Robert Iakobashvili <coroberti at gmail.com>:
> 
> On Thu, Dec 4, 2014 at 9:30 AM, Till Oliver Knoll
> <till.oliver.knoll at gmail.com> wrote:
>> 
>>> Am 04.12.2014 um 07:40 schrieb Robert Iakobashvili <coroberti at gmail.com>:
>> ...
>>> 
>>> To disable custom keyboard in your app completely override the
>>> application:shouldAllowExtensionPointIdentifier:
>>> 
>>> (BOOL)application:(UIApplication *)application
>>> shouldAllowExtensionPointIdentifier:(NSString
>>> *)extensionPointIdentifier {
>>> // Disallow custom keyboards return ![extensionPointIdentifier
>>> isEqualToString:UIApplicationKeyboardExtensionPointIdentifier];
>>> }
>> 
>> This is a platform-specific functionality and as such not a candidate for being supported by a cross-platform API.
> 
> I would appreciated responses from Qt developers on iOS
> with a knowledge of the subject (UIApplication, UIApplicationDelegate area).

This is a public Qt *user* list. As such people actually developing Qt itself might or might not read here (some do!).

If you really want to suggest new functionality over an "inofficial" channel you might have better luck on qt-developers mailing list.

If such a platform-specific API such as the one you are looking for would ever be added then it would go into a "iOS Extras" Add-On.

But for the time being (Qt 5.4 RC) there is no such Add-On, AFAICT:

  http://doc-snapshot.qt-project.org/qt5-5.4/qtmodules.html

But as suggested it is very easy to combine Obj-C++/Cocoa/iOS API calls with C++. Read the qmake docs how to include/compile/link such *.mm files.


>>> The question is how/where it could be done in a Qt application.
>> Just after you have created the Q(Gui)ApplicationObject in main() I guess (or whatever suitable "init" place exist for QtQuick-based >applications).
> 
> Sorry, but this is requires platform specific knowledge.

So I don't see your problem then, sorry.

I was just trying to help here...

Good luck,
  Oliver
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.qt-project.org/pipermail/interest/attachments/20141204/e131168f/attachment.html>


More information about the Interest mailing list